[][src]Crate user_error

User Facing Error

A library for conveniently displaying well-formatted, and good looking errors to users of CLI applications. Useful for bubbling up unrecoverable errors to inform the user what they can do to fix them. Error messages you'd be proud to show your mom.

Structs

HelpText

Marker type for valid state transitions. Holds the helptext String.

Reason

Marker type for valid state transitions. Holds a Vec of reasons that the error occurred.

ReasonsAndHelp

Marker type for valid state transitions. Holds both a Vec of reasons the error happened and a String of helptext.

Start

Marker traits indicating the start state of the UFE Builder sequence.

UserFacingError

The eponymous struct.

Traits

UFEState

Marker trait to ensure valid state transitions.