class
AzuCLI::Middleware::ErrorHandler
- AzuCLI::Middleware::ErrorHandler
- AzuCLI::Middleware::Base
- Reference
- Object
Overview
Error handling middleware
Defined in:
azu_cli/middleware/error_handler.crInstance Method Summary
-
#error(command : Commands::Base, error : Exception)
Called when an error occurs
Instance methods inherited from class AzuCLI::Middleware::Base
after(command : Commands::Base, result : Commands::Result)
after,
before(command : Commands::Base, args : Array(String))
before,
error(command : Commands::Base, error : Exception)
error
Instance Method Detail
def error(command : Commands::Base, error : Exception)
#
Description copied from class AzuCLI::Middleware::Base
Called when an error occurs