Page Contents

Home > @loopback/rest > RestBindings > ERROR_WRITER_OPTIONS

RestBindings.ERROR_WRITER_OPTIONS variable

Binding key for setting and injecting Reject action’s error handling options.

See https://github.com/loopbackio/strong-error-handler#options for the list of available options. Please note that the flag log is not used by @loopback/rest.

Signature:

ERROR_WRITER_OPTIONS: BindingKey<ErrorWriterOptions>