GLMapError

Objective-C

enum GLMapError : uint16_t {}

Swift

@frozen enum GLMapError : UInt16, @unchecked Sendable

Errors returned by download tasks

  • No error

    Declaration

    Objective-C

    GLMapError_Success = 0x0000u

    Swift

    case success = 0
  • Custom error

    Declaration

    Objective-C

    GLMapError_Custom

    Swift

    case custom = 1
  • Used internally. Check for [NSError domain], if it’s equal to ERRNO, [NSError code] is ERRNO code [1-106].

    Declaration

    Objective-C

    GLMapError_System = 0x800u

    Swift

    case system = 2048
  • Used internally. Check for [NSError domain], if it’s equal to HTTP, [NSError code] is HTTP error code [100-526].

    Declaration

    Objective-C

    GLMapError_HTTP = 0x1000u

    Swift

    case HTTP = 4096
  • Used internally. Check for [NSError domain], if it’s equal to CURL, [NSError code] is CURL error code [0 - 96]. https://curl.haxx.se/libcurl/c/libcurl-errors.html

    Declaration

    Objective-C

    GLMapError_CURL = 0x2000u

    Swift

    case CURL = 8192
  • Used internally. Check for [NSError domain], if it’s equal to XZ, [NSError code] is XZ archiver error code [0 - 8].

    Declaration

    Objective-C

    GLMapError_XZ = 0x4000u

    Swift

    case XZ = 16384
  • Used internally. Check for [NSError domain], if it’s equal to Valhalla, [NSError code] is Valhalla archiver error code [100 - 599].

    Declaration

    Objective-C

    GLMapError_Valhalla = 0x8000u

    Swift

    case valhalla = 32768