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
Returns
ErrorDetails | undefined