ErrorHandler
Receives Throwables raised inside the SDK at runtime.
Per the OpenTelemetry specification the SDK MUST NOT throw to user code at runtime touchpoints. Components catch \Throwable from exporters/processors and forward it here. Implementations MUST swallow any failure of their own (a handler that itself throws is considered broken).
Tags
Methods
- handle() : void
Methods
handle()
public
handle(Throwable $error) : void
Parameters
- $error : Throwable