Native SkirRPC support for Elixir.
SkirRPC is a unary HTTP RPC protocol. Generated Skir.Method values can be
registered with Skir.RPC.Service or invoked through Skir.RPC.ServiceClient.
Summary
Functions
Creates a controlled SkirRPC error that is safe to return to the client.
Returns whether the HTTP error status is supported by SkirRPC.
Creates an internal SkirRPC error whose message is hidden unless the service explicitly permits exposure.
Functions
@spec error(integer(), String.t() | nil) :: Skir.RPC.ServiceError.t()
Creates a controlled SkirRPC error that is safe to return to the client.
Returns whether the HTTP error status is supported by SkirRPC.
@spec unknown_error(String.t()) :: Skir.RPC.UnknownError.t()
Creates an internal SkirRPC error whose message is hidden unless the service explicitly permits exposure.