Enumerations
The following enumerations are available globally.
-
Describes the error states generated by
APIotaClient
.The
See moreErrorResponse
type should match the associated type from anAPIotaCodableEndpoint
type.Declaration
Swift
public enum APIotaClientError<ErrorResponse> : LocalizedError where ErrorResponse : Decodable
extension APIotaClientError: Equatable
-
Describes all valid HTTP methods.
Valid HTTP methods referenced from: https://www.iana.org/assignments/http-methods/http-methods.xhtml#methods
See moreDeclaration
Swift
public enum HTTPMethod : String
-
Describes all valid HTTP status codes.
Valid HTTP status codes referenced from: https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml#http-status-codes-1
See moreDeclaration
Swift
public enum HTTPStatusCode : Int
extension HTTPStatusCode: CustomStringConvertible