Appsignal.Instrumentation.set_error
You're seeing just the function
set_error
, go back to Appsignal.Instrumentation module for more information.
Specs
set_error(Exception.t(), Exception.stacktrace()) :: Appsignal.Span.t() | nil
Set an error in the current root span.
Specs
set_error(Exception.kind(), any(), Exception.stacktrace()) :: Appsignal.Span.t() | nil
Set an error in the current root span by passing a kind
and reason
.