Documentation

TenantSecurityException extends Exception
in package

This exception indicates a problem talking to the TSP or the TSP talking to the key management servers. See the fromResponse static function for the code -> exception mapping.

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