class Azu::ErrorReporter

Overview

Error aggregation and reporting system

Defined in:

azu/error.cr

Instance Method Summary

Instance Method Detail

def clear_errors #

[View source]
def get_errors_by_type(error_type : String) : Array(ErrorReport) #

[View source]
def get_recent_errors(limit : Int32 = 100) : Array(ErrorReport) #

[View source]
def report(error : Exception, context : ErrorContext | Nil = nil, severity : Severity = Severity::ERROR) #

[View source]