Skip to main content

Module exit

Module exit 

Source
Expand description

Exit codes. wait defines them in the spec; every command uses the same ones.

Structs§

Conflict
The server answered 409.
Exit
An error that carries its exit code.

Constants§

AUTH
ERROR
NOT_FOUND
OK
STALE
A push refused because the server has a revision this checkout didn’t start from.
TIMEOUT

Functions§

auth
code_of
The exit code an error maps to.
is_conflict
is_not_found
is_stale
message_of
The message of an Exit, or the whole error.
not_found
stale
timeout