Page Contents

Home > @loopback/rest > Reject

Reject type

Reject the request with an error.

Signature:

export type Reject = (handlerContext: HandlerContext, err: Error) => void;