The incoming event.
The outgoing response.
The service container.
The response snapshot.
Optionalfallback: ElementType
Rendered when the application declared no component for this error. A web renderer passes its HTML error page; a native one passes nothing, because a package that may be rendering native views cannot reach for HTML.
The pieces to display.
Resolve a declared error page into the pieces a renderer displays.
Separate from preparePageParts for one reason: an error page's loader takes the error first and the event second, so it cannot share the call.