Module error

Module error 

Source
Expand description

Unified error type for bp-core.

All fallible functions in the library return BpResult<T>, which is a type alias for Result<T, BpError>. Callers can match on individual variants for fine-grained handling, or propagate with ? and let anyhow or thiserror format a human-readable message.

Enums§

BpError
Every error that can originate inside bp-core.

Type Aliases§

BpResult
Convenience alias — all bp-core functions return this.