Crate ffx_command_error

Source

Modules§

Macros§

  • Utility macro for constructing an [Error] that represents an unexpected failure condition (a bug).
  • Utility macro for an early exit from a function returning an [Error] that represents an exit with a specific error code but no output.
  • Utility macro for an early exit from a function returnng an [Error] that represents an unexpected failure condition (a bug).
  • Utility macro for an early exit from a function returnng an [Error] that represents a user-actionable failure condition.
  • Utility macro for constructing an [Error] that represents a user-actionable failure condition.

Structs§

  • Represents a recoverable error. Intended to be embedded in Error.

Enums§

  • A top level error type for ffx tool results

Traits§

  • Adds helpers to result types to produce useful error messages to the user from the ffx frontend (through crate::Error)

Type Aliases§

  • A convenience Result type