Skip to main content

Module exit_code

Module exit_code 

Source
Expand description

Process exit codes (see docs/PRD/02-cli-spec.md).

Constants§

FAILURE
Generic failure.
NO_TEXT
Recognised document, but no extractable text — looks like a scan, needs --ocr.
OK
Success.
UNSUPPORTED
Unsupported file type.
USAGE
Invalid arguments (also what clap returns on its own).