Skip to content

basalt / http/src / internalDetailsOf

Function: internalDetailsOf() ​

> internalDetailsOf(error): ErrorDetails | undefined

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

The log-only counterpart of details, read from an error's internalDetails property (new HttpError(…, { internalDetails }), or any error that defines one). Sanitised for shape like details, so a cyclic or ORM-laden payload cannot break the reporter, but NEVER serialised into a response or a tool result — toErrorResponse does not read it.

Parameters ​

error ​

unknown

Returns ​

ErrorDetails | undefined

Released under the MIT License.