final class BankIDEnvironmentNotAllowedException extends BankIDRequestException

Exception thrown when a BankID mocking is not enabled in settings.

Traits

StringTranslationTrait

Methods

__construct()

Constructs a new BankIDEnvironmentNotAllowedException.

string
getErrorCode()

Gets the BankID error code.

string|null
getDetails()

Gets the details from the API.

string|null
getOrderRef()

Gets the order reference if available.

string|null
getUserMessage()

Gets the user-facing message.

Details

at line 19
__construct()

Constructs a new BankIDEnvironmentNotAllowedException.

string getErrorCode()

Gets the BankID error code.

Return Value

string

The error code.

string|null getDetails()

Gets the details from the API.

Return Value

string|null

The details string or NULL.

string|null getOrderRef()

Gets the order reference if available.

Return Value

string|null

The order reference or NULL.

string|null getUserMessage()

Gets the user-facing message.

Return Value

string|null

The user message, or NULL if not set.