/** @var \Enlight_Components_Snippet_Namespace $namespace */
$namespace =
$this->
get('snippets'
) ->
getNamespace('backend/plugin_manager/exceptions'
);
if ($namespace->
offsetExists($exception->
getMessage())) { $snippet =
$namespace->
get($exception->
getMessage());
} else { $snippet =
$exception->
getMessage();
} $snippet .= '<br><br>Error code: ' .
$exception->
getSbpCode();
return $snippet;
}}