Appsignal.Instrumentation.set_error

You're seeing just the function set_error, go back to Appsignal.Instrumentation module for more information.
Link to this function

set_error(exception, stacktrace)

View Source

Specs

Set an error in the current root span.

Link to this function

set_error(kind, reason, stacktrace)

View Source

Specs

Set an error in the current root span by passing a kind and reason.