Module error

Source
Expand description

This module defines error types specific to the blockchain validation and database operations, along with conversion between types.

The main error types are:

  • BlockchainError: High-level error type that encapsulates all the error kinds from our node chain backend operation.
  • TransactionError: Represents errors in transaction validation
  • BlockValidationErrors: Errors encountered during block validation that are not tied to any specific transaction

Each error type implements Display and Debug for error reporting.

Structs§

TransactionError
Represents errors encountered during transaction validation.

Enums§

BlockValidationErrors
Represents errors encountered during block validation.
BlockchainError
This is the highest level error type in floresta-chain, returned by the crate::ChainState methods. It represents errors encountered during blockchain validation.

Traits§

DatabaseError