risingwave_common

Module error

source
Expand description

Re-export risingwave_error for easy access.

Developer should add new utilities to risingwave_error crate and only re-export them here.

Modules§

Macros§

Structs§

Traits§

  • Extension trait for Error that casts the error to a trait object.
  • Extension trait for Error that provides a Report which formats the error and its sources in a cleaned-up way.

Type Aliases§

Derive Macros§

  • Generates a new type that wraps the original error type in an Arc.
  • Generates a new type that wraps the original error type in a [struct@Box].
  • Generates constructor functions for different variants of the error type.
  • Generates extension traits for converting the external error type into the the provided one, with extra context.
  • Generates macros for different variants of the error type to construct it or directly bail out.
  • Generates the [Debug] implementation that delegates to the Report of an error.