Class FormError

Extends Error
Represents User Messaging Platform (UMP) form operation failures.
Constructors
constructor
Properties
cause?
code
The error's code, specific to the context.
message
name
stack?
Methods
toString
Returns a string representation of this error.

Constructors


constructor

new FormError(code, message): FormError
Parameters
code: FormErrorCode
message: string
Returns
FormError

Properties


Optional cause

cause?: unknown

Readonly code

The error's code, specific to the context.

message

message: string

name

name: string

Optional stack

stack?: string

Methods


toString

toString(): string
Returns a string representation of this error.
Returns
string A string representation of the UMP form error.