ArgumentError¶
Import: import system;
Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.
ArgumentError¶
Invalid CLI / environment usage implementing Error.
constructor¶
Builds an error with a stable code string and human-readable message.
message¶
Human-readable explanation of the invalid command-line argument, suitable for logs and error output.
code¶
Stable machine-readable code (e.g. EINVAL).
invalid¶
Convenience constructor for invalid-argument failures.