handler library Null safety

Classes

JsonRpcShelfHandler
Utility class to register and handle RPC methods.
RpcExceptionDecoder

Typedefs

RpcExceptionDecoderFn = RpcException Function(int code, String message, dynamic data)
RpcMethod = Future Function(dynamic rq)

Exceptions / Errors

InternalException
Exception thrown when there was an unhandled internal exception.
InvalidParamsException
Exception thrown when the parameters are invalid.
InvalidRequestException
Exception thrown when an invalid request is received.
MethodNotFoundException
Exception thrown when the method is not found.
ParseException
Exception thrown when a parser error occurs.
RpcException
An exception from a JSON-RPC server that can be translated into an error response.
ServerException
Exception thrown when there was a server error.