interface ErrorRendererInterface
Formats an exception to be used as response content.
Renders a Throwable as a FlattenException.
FlattenException render(Throwable$exception)