> For the complete documentation index, see [llms.txt](https://docs.alphi.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.alphi.dev/response-nodes/error.md).

# Error

The **Error** node is used to return an error response to the client (browser).

## Options

### Status code

This is the HTTP status code that will be sent with the response. It should be a valid HTTP status code, such as 400 for a bad request or 500 for a server error.

### Message

This is the error message that will be sent in the body of the response. It should be a string containing a brief description of the error.

## Output

Returns the JSON response.

{% hint style="warning" %}
With SSR enabled, the Error node redirects the client (browser) to the error page defined in the start node.
{% endhint %}
