struct Azu::ErrorReport

Overview

Error report structure for aggregation

Defined in:

azu/error.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(error : Exception, context : Azu::ErrorContext | Nil = nil, severity : Azu::ErrorReporter::Severity = ErrorReporter::Severity::ERROR) #

[View source]

Instance Method Detail

def backtrace : Array(String) #

[View source]
def context : ErrorContext | Nil #

[View source]
def error_type : String #

[View source]
def fingerprint : String #

[View source]
def id : String #

[View source]
def message : String #

[View source]
def severity : ErrorReporter::Severity #

[View source]
def timestamp : Time #

[View source]
def to_json(json : JSON::Builder) #

[View source]