pfSense-pkg-RESTAPI

Responses

Table of Contents

Classes

AuthenticationError
Exception class tha indicates an authentication error. This exception generally corresponds with a 401 unauthorized HTTP code.
ConflictError
Exception class that indicates their is a conflict with the requested action. This exception generally corresponds with a 409 conflict HTTP code.
FailedDependencyError
Exception class that indicates a requested resource requires a dependency which is not installed. This exception generally corresponds with a 424 Failed Dependency HTTP code.
ForbiddenError
Exception class that indicates insufficient privileges or an attempt to access a protected API resource. This exception generally corresponds with a 403 forbidden HTTP code.
GraphQLResponse
Response class that represents a GraphQL response. Unlike other responses, this response does not represent a successful or failed response, but rather a generic one where the error details are embedded in the response data.
MediaTypeError
Exception class tha indicates the request media type is not supported. This exception generally corresponds with a 415 Unsupported Media Type HTTP code.
MethodNotAllowedError
Exception class that indicates the requested method is not allowed. This exception generally corresponds with a 405 method not allowed HTTP code.
NotAcceptableError
Exception class tha indicates the request was not acceptable. This exception generally corresponds with a 406 Not Acceptable HTTP code.
NotFoundError
Exception class tha indicates a requested resource was not found. This exception generally corresponds with a 404 Not Found HTTP code.
ServerError
Exception class that indicates a server or programming error. This exception generally corresponds with a 500 Internal Server Error HTTP code.
ServiceUnavailableError
Exception class that indicates the requested services is temporarily unavailable. This exception generally corresponds with a 503 Service Unavailable error code.
Success
Exception class that indicates a successful transaction occurred. This exception generally corresponds with a 200 OK HTTP code and is typically not thrown as an error.
UnprocessableContentError
Exception class that indicates a request was understood but cannot be processed for one or more reasons. This exception generally corresponds with a 422 Unprocessable Content HTTP code.
ValidationError
Exception class tha indicates an input validation error. This exception generally corresponds with a 400 Bad Request HTTP code.

        
On this page

Search results