Skip to main content

Module error

Module error 

Source
Expand description

Why a launch failed, and what the shell would have exited with.

The exit codes here are not from the API taxonomy in prick_core::classify. They are the shell convention for a command that could not be started, and they are what a caller of prk run already branches on:

CodeMeaning
126Found, but could not be executed
127Not found

Reproducing them exactly is the point of prk run: a script must not be able to tell whether a command ran under prk run or directly.

Enums§

LaunchError
A launch that did not happen.

Constants§

EXIT_NOT_EXECUTABLE
The status a shell reports when a command was found but cannot be run.
EXIT_NOT_FOUND
The status a shell reports when a command was not found.