Documentation

TspServiceException extends TenantSecurityException
in package

This indicates a problem from the Tenant Security Proxy itself (such as invalid API key).

Table of Contents

fromDecodedJson()  : TenantSecurityException
Converts from a JSON-decoded TSP error response to a TenantSecurityException.
fromResponse()  : TenantSecurityException
Converts from a TSP error response to a TenantSecurityException.

Methods

fromDecodedJson()

Converts from a JSON-decoded TSP error response to a TenantSecurityException.

public static fromDecodedJson(array<string|int, mixed> $decodedJson) : TenantSecurityException
Parameters
$decodedJson : array<string|int, mixed>

Decoded response from the TSP.

Return values
TenantSecurityException

TenantSecurityException associated with the TSP status coe.

Search results