Exception reference

exception tinyrpc.exc.BadReplyError

Base class for all errors that caused processing of a reply to abort before it could be turned in a response object.

exception tinyrpc.exc.BadRequestError

Base class for all errors that caused the processing of a request to abort before a request object could be instantiated.

error_respond()

Create RPCErrorResponse to respond the error.

Returns:A error responce instance or None, if the protocol decides to drop the error silently.
exception tinyrpc.exc.InvalidReplyError

A reply received was malformed (i.e. violated the specification) and could not be parsed into a response.

exception tinyrpc.exc.InvalidRequestError

A request made was malformed (i.e. violated the specification) and could not be parsed.

exception tinyrpc.exc.MethodNotFoundError

The desired method was not found.

exception tinyrpc.exc.RPCError

Base class for all excetions thrown by tinyrpc.

exception tinyrpc.exc.ServerError

An internal error in the RPC system occured.