MessageError.(constructor)
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Constructs a new instance of the MessageError
class
Signature:
constructor(type: typeof MessageError.prototype.type, message: string);
Parameters
Parameter | Type | Description |
---|---|---|
type | typeof MessageError.prototype.type | |
message | string |