Rest.ProxyError
Description: Reference for Rest.ProxyError

### Enumeration

# RestProxyError

#### Declaration

    error-domain Rest.ProxyError

#### Description [src]

Error domain used when returning errors from a `RestProxy`.

#### Members

`REST_PROXY_ERROR_CANCELLED`

  Cancelled.

  - Value: `1`
  - Available since: 1.0
`REST_PROXY_ERROR_RESOLUTION`

  Resolution.

  - Value: `2`
  - Available since: 1.0
`REST_PROXY_ERROR_CONNECTION`

  Connection.

  - Value: `3`
  - Available since: 1.0
`REST_PROXY_ERROR_SSL`

  SSL.

  - Value: `4`
  - Available since: 1.0
`REST_PROXY_ERROR_IO`

  Input/Output.

  - Value: `5`
  - Available since: 1.0
`REST_PROXY_ERROR_FAILED`

  Failure.

  - Value: `6`
  - Available since: 1.0
`REST_PROXY_ERROR_URL_INVALID`

  Invalid URL.

  - Value: `7`
  - Available since: 1.0
`REST_PROXY_ERROR_BINDING_REQUIRED`

  URL requires binding.

  - Value: `8`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_MULTIPLE_CHOICES`

  HTTP/Multiple choices.

  - Value: `300`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_MOVED_PERMANENTLY`

  HTTP/Moved permanently.

  - Value: `301`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_FOUND`

  HTTP/Found.

  - Value: `302`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_SEE_OTHER`

  HTTP/See other.

  - Value: `303`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_NOT_MODIFIED`

  HTTP/Not modified.

  - Value: `304`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_USE_PROXY`

  HTTP/Use proxy.

  - Value: `305`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_THREEOHSIX`

  HTTP/306.

  - Value: `306`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_TEMPORARY_REDIRECT`

  HTTP/Temporary redirect.

  - Value: `307`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_BAD_REQUEST`

  HTTP/Bad request.

  - Value: `400`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_UNAUTHORIZED`

  HTTP/Unauthorized.

  - Value: `401`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_FOUROHTWO`

  HTTP/402.

  - Value: `402`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_FORBIDDEN`

  HTTP/Forbidden.

  - Value: `403`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_NOT_FOUND`

  HTTP/Not found.

  - Value: `404`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_METHOD_NOT_ALLOWED`

  HTTP/Method not allowed.

  - Value: `405`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_NOT_ACCEPTABLE`

  HTTP/Not acceptable.

  - Value: `406`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_PROXY_AUTHENTICATION_REQUIRED`

  HTTP/Proxy authentication required.

  - Value: `407`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_REQUEST_TIMEOUT`

  HTTP/Request timeout.

  - Value: `408`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_CONFLICT`

  HTTP/Conflict.

  - Value: `409`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_GONE`

  HTTP/Gone.

  - Value: `410`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_LENGTH_REQUIRED`

  HTTP/Length required.

  - Value: `411`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_PRECONDITION_FAILED`

  HTTP/Precondition failed.

  - Value: `412`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_REQUEST_ENTITY_TOO_LARGE`

  HTTP/Request entity too large.

  - Value: `413`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_REQUEST_URI_TOO_LONG`

  HTTP/Request URI too long.

  - Value: `414`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_UNSUPPORTED_MEDIA_TYPE`

  HTTP/Unsupported media type.

  - Value: `415`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE`

  HTTP/Requested range not satisfiable.

  - Value: `416`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_EXPECTATION_FAILED`

  HTTP/Expectation failed.

  - Value: `417`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_INTERNAL_SERVER_ERROR`

  HTTP/Internal server error.

  - Value: `500`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_NOT_IMPLEMENTED`

  HTTP/Not implemented.

  - Value: `501`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_BAD_GATEWAY`

  HTTP/Bad gateway.

  - Value: `502`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_SERVICE_UNAVAILABLE`

  HTTP/Service unavailable.

  - Value: `503`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_GATEWAY_TIMEOUT`

  HTTP/Gateway timeout.

  - Value: `504`
  - Available since: 1.0
`REST_PROXY_ERROR_HTTP_HTTP_VERSION_NOT_SUPPORTED`

  HTTP/Version not supported.

  - Value: `505`
  - Available since: 1.0

#### Type functions

###### rest_proxy_error_quark

Registers an error quark for `RestProxy` errors.