Package 

Enum ErrorCode

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum ErrorCode
    extends Enum<ErrorCode>
                        

    The catalog of failure codes shared by every OneSignal SDK.

    An enum rather than a sealed hierarchy so that Java callers get a native switch and the wrapper bridges get a trivial name-to-string marshal. The backend half of the catalog is deliberately not modelled here; see BACKEND_ERROR.

    New codes will be added in later releases, so a when or switch over this enum should keep an else branch.