TwyrBaseClass

TwyrBaseClass

The Twyr Server Base Class.

Constructor

new TwyrBaseClass()

Serves as the "base class" for all other classes in the Twyr Web Application Server, including TwyrBaseModule and TwyrModuleLoader.

Source:

Serves as the "base class" for all other classes in the Twyr Web Application Server, including TwyrBaseModule and TwyrModuleLoader.

Extends

  • EventEmitter

Members

(readonly) basePath :string

Source:
Type:
  • string

(readonly) name :string

Source:
Type:
  • string

Methods

_handleUncaughtException(err) → {undefined}

Logs Unhandled Exceptions to prevent the process from crashing.

Source:
Parameters:
Name Type Description
err Error

The unhandled exception.

Returns:

Nothing.

Type
undefined