DingiErrorCode

enum DingiErrorCode {}

Error constants for the Mapbox SDK.

  • An unknown error occurred.

    Declaration

    Objective-C

    DingiErrorCodeUnknown = -1

    Swift

    case unknown = -1
  • The resource could not be found.

    Declaration

    Objective-C

    DingiErrorCodeNotFound = 1

    Swift

    case notFound = 1
  • The connection received an invalid server response.

    Declaration

    Objective-C

    DingiErrorCodeBadServerResponse = 2

    Swift

    case badServerResponse = 2
  • An attempt to establish a connection failed.

    Declaration

    Objective-C

    DingiErrorCodeConnectionFailed = 3

    Swift

    case connectionFailed = 3
  • A style parse error occurred while attempting to load the map.

    Declaration

    Objective-C

    DingiErrorCodeParseStyleFailed = 4

    Swift

    case parseStyleFailed = 4
  • An attempt to load the style failed.

    Declaration

    Objective-C

    DingiErrorCodeLoadStyleFailed = 5

    Swift

    case loadStyleFailed = 5
  • An error occurred while snapshotting the map.

    Declaration

    Objective-C

    DingiErrorCodeSnapshotFailed = 6

    Swift

    case snapshotFailed = 6