Documentation
Preparing search index...
@adonisjs/http-server
src/types/main
StatusPageRenderer
Type Alias StatusPageRenderer
StatusPageRenderer
:
(
error
:
HttpError
,
ctx
:
HttpContext
)
=>
any
|
Promise
<
any
>
Callback function to render custom status pages for HTTP errors
Type Declaration
(
error
:
HttpError
,
ctx
:
HttpContext
)
:
any
|
Promise
<
any
>
Parameters
error
:
HttpError
ctx
:
HttpContext
Returns
any
|
Promise
<
any
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
Callback function to render custom status pages for HTTP errors