RestfulPropertyKit Documentation Beta

Enumeration Rest​Query​Error

public enum RestQueryError: Error 

The RestQuery error type.

RestQueryError RestQueryError Error Error RestQueryError->Error

Conforms To

Error

Enumeration Cases

missing​Implementation

case missingImplementation

The query is missing an operation implementation.

dynamic​Wrap​Dispatch

case dynamicWrapDispatch

The dynamic dispatch failed to invoke the typesafe wrap method successfully.

url

case url(URLError)

The construction of the request URL failed.

url​Reponse

case urlReponse

The request result did not contain a response.

status​Code

case statusCode(Int)

The status code was not in the expected range.

bearer

case bearer

The bearer token is missing for request with implicit or explicit @Rest(bearer: true).

decode

case decode(DecodingError)

The decoding of the query result or bearer token failed.

encode

case encode(EncodingError)

The encoding of the query content failed.

other

case other(Error)

Some other issue.