MGLErrorCode
enum MGLErrorCode : NSInteger {}
Error constants for the Mapbox SDK.
-
An unknown error occurred.
Declaration
Objective-C
MGLErrorCodeUnknown = -1
Swift
case Unknown
-
The resource could not be found.
Declaration
Objective-C
MGLErrorCodeNotFound = 1
Swift
case NotFound
-
The connection received an invalid server response.
Declaration
Objective-C
MGLErrorCodeBadServerResponse = 2
Swift
case BadServerResponse
-
An attempt to establish a connection failed.
Declaration
Objective-C
MGLErrorCodeConnectionFailed = 3
Swift
case ConnectionFailed