Error::renderExceptionSafe

public static function Error::renderExceptionSafe

public static Error::renderExceptionSafe($exception)

Renders an exception error message without further exceptions.

Parameters

\Exception|\Throwable $exception: The exception object that was thrown.

Return value

string An error message.

File

core/lib/Drupal/Core/Utility/Error.php, line 87

Class

Error
Drupal error utility class.

Namespace

登录查看完整内容