Enum ckb_error::ErrorKind [−][src]
pub enum ErrorKind { OutPoint, Transaction, SubmitTransaction, Script, Header, Block, Internal, Dao, Spec, }
Expand description
A list specifying categories of ckb error.
This list is intended to grow over time and it is not recommended to exhaustively match against it.
It is used with Error
.
Variants
It indicates that the underlying error is OutPointError
.
It indicates that the underlying error is TransactionError
.
It indicates that the underlying error is Reject
.
It indicates that the underlying error is TransactionScriptError
.
It indicates that the underlying error is HeaderError
.
It indicates that the underlying error is BlockError
It indicates that the underlying error is InternalError
It indicates that the underlying error is DaoError
It indicates that the underlying error is SpecError
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more