pub trait IntoRpcHandlerError
where Self: Error + Sized + Send + Sync + 'static + Serialize,
{ // Provided method fn into_handler_error(self) -> RpcHandlerError { ... } }
Expand description

A trait with a default implementation that converts any application error into a RpcHandlerError. This allows the application code to query and extract the specified application error.

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§