abstract class OpenTelemetry::ErrorHandler

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.cr

Instance Method Summary

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.


[View source]