ErrorReport
in package
implements
JsonSerializable
FinalYes
A privacy-safe description of a failed Inttegro SDK operation.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $apiError : APIErrorReportContext|null
- $category : string
- $eventId : string
- $exceptionType : string
- $fingerprint : string
- $http : HTTPReportContext
- $occurredAt : string
- $operation : string
- $schemaVersion : int
- $sdk : SDKReportContext
- $severity : string
- $trace : TraceReportContext|null
Methods
- __construct() : mixed
- jsonSerialize() : array<string|int, mixed>
Properties
$apiError read-only
public
APIErrorReportContext|null
$apiError
= null
$category read-only
public
string
$category
$eventId read-only
public
string
$eventId
$exceptionType read-only
public
string
$exceptionType
$fingerprint read-only
public
string
$fingerprint
$http read-only
public
HTTPReportContext
$http
$occurredAt read-only
public
string
$occurredAt
$operation read-only
public
string
$operation
$schemaVersion read-only
public
int
$schemaVersion
$sdk read-only
public
SDKReportContext
$sdk
$severity read-only
public
string
$severity
$trace read-only
public
TraceReportContext|null
$trace
= null
Methods
__construct()
public
__construct(int $schemaVersion, string $eventId, string $occurredAt, string $severity, string $category, string $operation, SDKReportContext $sdk, HTTPReportContext $http, string $exceptionType, string $fingerprint[, APIErrorReportContext|null $apiError = null ][, TraceReportContext|null $trace = null ]) : mixed
Parameters
- $schemaVersion : int
- $eventId : string
- $occurredAt : string
- $severity : string
- $category : string
- $operation : string
- $sdk : SDKReportContext
- $http : HTTPReportContext
- $exceptionType : string
- $fingerprint : string
- $apiError : APIErrorReportContext|null = null
- $trace : TraceReportContext|null = null
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>