ErrorMessage interface
Represents an error message.
In addition to message text contans also a string value which represents the type
of the error.
Extends
Section titled “Extends”Properties
Section titled “Properties”● text?: string
● type?: string