Crate ffx_command_error
Source - macros
- bug
- Utility macro for constructing an [
Error
] that represents an unexpected failure
condition (a bug). - exit_with_code
- Utility macro for an early exit from a function returning an [
Error
] that
represents an exit with a specific error code but no output. - return_bug
- Utility macro for an early exit from a function returnng an [
Error
] that
represents an unexpected failure condition (a bug). - return_user_error
- Utility macro for an early exit from a function returnng an [
Error
] that
represents a user-actionable failure condition. - user_error
- Utility macro for constructing an [
Error
] that represents a user-actionable
failure condition.
- NonFatalError
- Represents a recoverable error. Intended to be embedded in
Error
.
- Error
- A top level error type for ffx tool results
- FfxContext
- Adds helpers to result types to produce useful error messages to the user from
the ffx frontend (through
crate::Error
)
- Result
- A convenience Result type