Skip to main content

Module error

Module error 

Source
Expand description

The SDK’s error type.

Every failure carries a ParalockErrorCode (Error::code), the same machine-readable codes the TypeScript SDK and the maker HTTP API use. Messages of Error::Protocol errors are written to be safe to show to a counterparty; the other variants describe local infrastructure (a node, an EVM RPC, the store) and are never sent to clients by the maker server.

Enums§

Error
Any error the SDK returns.

Type Aliases§

Result
Result with the SDK’s Error.