module Athena::Console::Exception
Overview
Both acts as a namespace for exceptions related to the Athena::Console
component, as well as a way to check for exceptions from the component.
Exposes a #code
method that represents the exit code of a command invocation.
Direct including types
- Athena::Console::Exception::CommandNotFound
- Athena::Console::Exception::InvalidArgument
- Athena::Console::Exception::InvalidOption
- Athena::Console::Exception::Logic
- Athena::Console::Exception::Runtime
Defined in:
athena-console.crexception/command_not_found.cr
Instance Method Summary
-
#code : Int32
Returns the exit code that should be used for this exception.