abstract class
OpenTelemetry::ErrorHandler
- OpenTelemetry::ErrorHandler
- Reference
- Object
Overview
Receives suppressed API and SDK errors and warnings. Concurrency: implementations must be safe to call from any fiber and thread.
Direct Known Subclasses
Defined in:
api/error_handler.crInstance Method Summary
-
#handle(exception : Exception | Nil, message : String | Nil, severity : Log::Severity) : Nil
Handles one diagnostic.
Instance Method Detail
abstract
def handle(exception : Exception | Nil, message : String | Nil, severity : Log::Severity) : Nil
#
Handles one diagnostic. OpenTelemetry discards any exception this hook raises.