Page Contents

Home > @loopback/rest > Reject

Reject type

Reject the request with an error.

Signature:

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