> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# error-stack-in-response

> An HTTP response includes an internal error stack.

## What it flags

An error `.stack` is written into a response body. A whole error object is contextual. Code that runs only outside production is clean.

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to drop its findings:

```json theme={null}
{
  "rules": { "error-stack-in-response": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.