Skip to main content

Module error

Module error 

Source
Expand description

Error types for proc CLI

Provides structured error handling with helpful suggestions for users.

Enums§

ExitCode
Exit codes for CLI
ProcError
Main error type for proc operations

Constants§

REASON_INVALID_INPUT
The reason of an exit-4 JSON error caused by bad flags, values or arguments, including clap’s own usage errors
REASON_NEEDS_CONFIRMATION
The reason of an exit-4 JSON error for a command that changes processes and was not given --yes
REASON_NOT_SUPPORTED
The reason of an exit-4 JSON error for a command this OS does not support

Functions§

command_line_hint
The hint for a name that matched nothing by name but is in some command lines

Type Aliases§

Result
Result type alias for proc operations