Skip to content

Exit Codes

Andrea Tedeschi edited this page Jan 17, 2021 · 4 revisions

Exit Code 0

  • All OK

Exit Code 1

  • Generic Errors
    • All errors not listed below

Exit Code 2

  • Command Line Arguments Create Conflicts
    • Two or more arguments that can not work together have been passed, or have values that generates errors

Exit Code 3

  • Invalid Token
    • Invalid format, Invalid base64 encoding, etc...

Exit Code 4

  • Missing Argument
    • An argument that requires another one to work has been passed alone

Exit Code 5

  • Invalid Option Syntax
    • An error in the syntax of one or more options e.g. -p argument is not a key:value pair

Exit Code 6

  • Invalid Option Argument
    • One or more options have a correct syntax, but generates errors e.g. --remove-from is a key:value pair (so the syntax is ok) but you are trying to remove a non existing claim

Exit Code 7

  • File Does Not Exists

Exit Code 8

  • Connection Errors

Exit Code 11

  • Missing Dependencies
    • Run ./install.sh or install requirements via pip in order to solve

Exit Code 21

  • Two or More Exit Codes
    • Conditions for two or more exit codes occurred or can not identify which one has