Flow PHP

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
see
https://opentelemetry.io/docs/specs/otel/error-handling/

Methods

handle()  : void

Methods

handle()

public handle(Throwable $error) : void
Parameters
$error : Throwable
On this page

Search results