ArcGISKit Documentation

Enumeration AGKRequest​Error

public enum AGKRequestError: Error  

Errors encountered when making API requests.

%261 AGKRequestError AGKRequestError Error Error AGKRequestError->Error

Conforms To

Error

Enumeration Cases

client​Error

case clientError(GHCError) 

invalid​Filename

case invalidFilename(name: String) 

The filename could not be percent-encoded (for uploading in a multipart request)

encoding​Error

case encodingError(EncodingError) 

decoding​Error

case decodingError(DecodingError, rawJSON: String) 

other

case other(Error) 

no​Response

case noResponse

JSON data was expected in the response, but none was provided.

unknown

case unknown(code: Int?, message: String?, details: [String]?) 

The ArcGIS API returned an error response.