Comment on page
🚫

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.
With SSR enabled, the Error node redirects the client (browser) to the error page defined in the start node.