Crate ckb_error

Source
Expand description

Underlying error types used over ckb crates.

Modules§

prelude
This module includes several traits.
util
Error-related macros

Structs§

AnyError
A wrapper around a dynamic error type.
Error
Top-level ckb error type.
InternalError
Internal error.
OtherError
An error with only a string as the reason.
SilentError
An error with no reason.

Enums§

ErrorKind
A list specifying categories of ckb error.
InternalErrorKind
A list specifying categories of ckb internal error.

Functions§

is_internal_db_error
Return whether the error’s kind is InternalErrorKind::Database