Type servlet:Error

servlet:Error is used to send an HTTP error message to the client.
extends servlet:Response
Constructors:
servlet:Error(Node status-code)
Creates a servlet:Error with the given response code and default error message.
Parameter status-code: The HTTP response code, in the 4xx or 5xx range.
servlet:Error(Node status-code, Node error-message)
Creates a servlet:Error with the given response code and error message.
Parameter status-code: The HTTP response code, in the 4xx or 5xx range.
Parameter error-message: The error description.
Functions:
Functions inherited from servlet:Response: