Skip to main content

errorsHelper

Workspace API


Workspace API / helpers/errorsHelper

helpers/errorsHelper

Interfaces

FastifyRequestWithLog

Defined in: helpers/errorsHelper.ts:12

Fastify request with log property for error handling

Extends

  • FastifyRequest

Properties

log

log: FastifyBaseLogger

Defined in: helpers/errorsHelper.ts:13

Overrides

FastifyRequest.log

Functions

handleError()

handleError(error, msg, req, reply): void

Defined in: helpers/errorsHelper.ts:16

Parameters

error

unknown

msg

string

req

FastifyRequestWithLog

reply

FastifyReply

Returns

void