interface ErrorRendererInterface
Formats an exception to be used as response content.
@author Yonel Ceruto <yonelceruto@gmail.com>
Hierarchy
- interface \Symfony\Component\ErrorHandler\ErrorRenderer\ErrorRendererInterface
Expanded class hierarchy of ErrorRendererInterface
All classes that implement ErrorRendererInterface
1 file declares its use of ErrorRendererInterface
- ErrorController.php in vendor/
symfony/ http-kernel/ Controller/ ErrorController.php
File
-
vendor/
symfony/ error-handler/ ErrorRenderer/ ErrorRendererInterface.php, line 21
Namespace
Symfony\Component\ErrorHandler\ErrorRendererView source
interface ErrorRendererInterface {
public const IDE_LINK_FORMATS = [
'textmate' => 'txmt://open?url=file://%f&line=%l',
'macvim' => 'mvim://open?url=file://%f&line=%l',
'emacs' => 'emacs://open?url=file://%f&line=%l',
'sublime' => 'subl://open?url=file://%f&line=%l',
'phpstorm' => 'phpstorm://open?file=%f&line=%l',
'atom' => 'atom://core/open/file?filename=%f&line=%l',
'vscode' => 'vscode://file/%f:%l',
];
/**
* Renders a Throwable as a FlattenException.
*/
public function render(\Throwable $exception) : FlattenException;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
ErrorRendererInterface::IDE_LINK_FORMATS | public | constant | ||
ErrorRendererInterface::render | public | function | Renders a Throwable as a FlattenException. | 3 |