Skip to main content

error_path

Attribute Macro error_path 

Source
#[error_path]
Expand description

Attach an error path to a single Result-returning function.

  • #[error_path] uses the function name.
  • #[error_path("custom.path")] uses the provided path.