Inttegro PHP SDK

APIErrorReportContext
in package
implements JsonSerializable

FinalYes

Non-sensitive machine-readable fields from an Inttegro API error.

Table of Contents

Interfaces

JsonSerializable

Properties

$code  : string|null
Machine-readable API error code.
$fixCode  : string|null
Machine-readable remediation code.
$type  : string|null
Broad API error category.

Methods

__construct()  : mixed
jsonSerialize()  : array<string, string>

Properties

$code read-only

Machine-readable API error code.

public string|null $code = null

$fixCode read-only

Machine-readable remediation code.

public string|null $fixCode = null

$type read-only

Broad API error category.

public string|null $type = null

Methods

__construct()

public __construct([string|null $type = null ][, string|null $code = null ][, string|null $fixCode = null ]) : mixed
Parameters
$type : string|null = null

Broad API error category.

$code : string|null = null

Machine-readable API error code.

$fixCode : string|null = null

Machine-readable remediation code.

jsonSerialize()

public jsonSerialize() : array<string, string>
Return values
array<string, string> —

JSON-safe API error fields with null values omitted.

On this page

Search results