This is the base class for any messaging related error. It allows for less granular catch code.

Constructor

new(msg:String)

Constructs a new instance of a MessagingError with the specified message.

Parameters:

msg

String that contains the message that describes the error.

Methods

toString():String

Returns the string "[MessagingError]" by default, and includes the message property if defined.

Returns:

String representation of the MessagingError.