risingwave_
common
2.2.0-alpha
Module anyhow
Module Items
Macros
In risingwave_
common::
error
risingwave_common
::
error
Module
anyhow
Copy item path
source
Macros
§
def_
anyhow_
newtype
Define a newtype wrapper around
anyhow::Error
.
def_
anyhow_
variant
Define a newtype + it’s variant in the specified type. This is useful when you want to define a new error type, but also want to define a variant for it in another enum.