public function Js::renderExceptionSafe in JS Callback Handler 8.3
Renders an exception error message without further exceptions.
Parameters
\Exception|\Throwable $exception: The exception object that was thrown.
Return value
string An error message.
1 call to Js::renderExceptionSafe()
- Js::exceptionHandler in src/
Js.php - Provides custom PHP exception handling.
File
- src/
Js.php, line 694
Class
- Js
- JS Callback Handler service.
Namespace
Drupal\jsCode
public function renderExceptionSafe($exception) {
return Error::renderExceptionSafe($exception);
}