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

Defined in:

athena-console.cr
exception/command_not_found.cr

Instance Method Summary

Instance Method Detail

def code : Int32 #

Returns the exit code that should be used for this exception.


[View source]