My App

Exit codes

What go-udap's exit codes mean

Exit codes

CodeMeaning
0Success
1Usage error — bad MAC, unknown parameter name, conflicting flags, missing required argument, unknown interface name
2Operation failure — device not found, transport error, timeout, MethodError reply

Each subcommand's reference page lists the specific conditions that produce code 1 vs 2 for that command.

On this page