Skip to content

basalt / http/src / applyDetailsRedactor

Function: applyDetailsRedactor() ​

> applyDetailsRedactor(details, redact, info): ErrorDetails | undefined

Defined in: http/src/error-details.ts:219

Runs redact over sanitised details. Never throws: a failing redactor drops the payload rather than turning a handled error into a second one.

Parameters ​

details ​

ErrorDetails | undefined

redact ​

ErrorDetailsRedactor | undefined

info ​

ErrorDetailsRedactionInfo

Returns ​

ErrorDetails | undefined

Released under the MIT License.