TwyrMiddlewareError

TwyrMiddlewareError

The Twyr Server Base Class for all errors emitted by Middlewares

Constructor

new TwyrMiddlewareError(message, inneropt)

Serves as the "base class" for all other Middleware errors in the Twyr Web Application Server.

Source:

Serves as the "base class" for all other Middleware errors in the Twyr Web Application Server.

Parameters:
Name Type Attributes Description
message string

The Error Message.

inner Error <optional>

Inner Error, if any.

Extends

Methods

toJSON()

Source:
Inherited From:

toString()

Source:
Inherited From: