Create a SAML 2 error.
public __construct ( string $status, string | null $subStatus = NULL, string | null $statusMessage = NULL, Exception $cause = NULL ) | ||
$status | string | The top-level status code. |
$subStatus | string | null | The second-level status code. Can be NULL, in which case there is no second-level status code. |
$statusMessage | string | null | The status message. Can be NULL, in which case there is no status message. |
$cause | Exception | The cause of this exception. Can be NULL. |