class AzuCLI::Middleware::ErrorHandler

Overview

Error handling middleware

Defined in:

azu_cli/middleware/error_handler.cr

Instance Method Summary

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


[View source]