HTTP Exceptions#

class defichain.exceptions.http.BadMethod(msg)#

The called method is not existent.

class defichain.exceptions.http.BadRequest(msg)#

The server cannot or will not process the request due to an apparent client error.

class defichain.exceptions.http.Forbidden(msg)#

The request contained valid data and was understood by the server, but the server is refusing action.

class defichain.exceptions.http.InternalServerError(msg)#

A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.

class defichain.exceptions.http.NotFound(msg)#

The requested resource could not be found but may be available in the future.

class defichain.exceptions.http.ServiceUnavailable(msg)#

The server cannot handle the request.

class defichain.exceptions.http.Unauthorized#

Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.

class defichain.exceptions.http.UnprocessableEntity(msg)#

The request was well-formed but was unable to be followed due to semantic errors.

class defichain.exceptions.http.WrongParameters(msg)#

If the expected paremeters were not passed.