pub fn request_error(err: JmapError) -> RequestErrorExpand description
Convenience constructor: wrap a JmapError in a RequestError,
deriving the HTTP status code automatically.
ยงRequest-level errors only
Pass only request-level errors (see error_status for the full list).
Method-level errors must go through error_invocation instead.