Enumeration
SimpleMDMError
public enum SimpleMDMError: BaseSimpleMDMError
Errors returned when misusing the SimpleMDM API.
Relationships
Conforms To
BaseSimpleMDMError
Enumeration Cases
generic
case generic(httpCode: Int, description: String)
The server responded with an unexpected HTTP response code, and provided an error description.
unexpectedResourceId
case unexpectedResourceId
The id of the received resource did not match the id of the requested resource.
doesNotExpectMoreResources
case doesNotExpectMoreResources
The request returned an empty list of resources, but the pagination API indicated than more resources are available.
invalidLimit
case invalidLimit(Int)
The limit you provided when using the pagination API does not fit the bounds enforced by the server.
Properties
errorDescription
public var errorDescription: String?
A localized message describing what error occurred.