Interface: MiddlewareErrorContext
@sapphire/plugin-api.MiddlewareErrorContext
The context sent in the error events.
Since
1.2.0
Properties
match
• match: RouteMatch
The route match.
Since
1.2.0
Defined in
projects/plugins/packages/api/src/lib/structures/http/Server.ts:256
request
• request: ApiRequest
The erroneous request.
Since
1.2.0
Defined in
projects/plugins/packages/api/src/lib/structures/http/Server.ts:244
response
• response: ApiResponse
<IncomingMessage
>
The server's response.
Since
1.2.0
Defined in
projects/plugins/packages/api/src/lib/structures/http/Server.ts:250