Timber v2.3.4 Timber.Events.ErrorEvent View Source
The ErrorEvent
is used to track errors and exceptions.
Timber automatically tracks and structures errors and exceptions in your application. Giving you detailed stack traces, context, and error data.
Link to this section Summary
Functions
Message to be used when logging
Builds a new struct taking care to normalize data into a valid state. This should be used, where possible, instead of creating the struct directly
Link to this section Types
Link to this type
stacktrace_entry()
View Source
stacktrace_entry() :: {module, atom, arity, [file: IO.chardata, line: non_neg_integer] | []}
Link to this type
t()
View Source
t() :: %Timber.Events.ErrorEvent{backtrace: [backtrace_entry] | [], message: String.t, name: String.t}
Link to this section Functions
Message to be used when logging.
Builds a new struct taking care to normalize data into a valid state. This should be used, where possible, instead of creating the struct directly.