basalt / http/src / redactSensitiveDetails
Function: redactSensitiveDetails()
> redactSensitiveDetails(details): ErrorDetails
Defined in: http/src/error-details.ts:187
The default details redactor: a copy of details with the value of every sensitive key (see isSensitiveDetailsKey), at any depth, replaced by REDACTED_DETAIL. A boolean or null under such a key is kept — { mfaRequired: true } tells the client what to do and carries no secret. Expects the plain data sanitizeErrorDetails produces.