Skip to content

ErrorData object

ErrorData is an object which represents the data of an error thrown during a form submission which comes from the server and consists of the following fields:

type ErrorData = {
    error_description: string;
    _flash_messenger: TFlashMessenger;
    validation_messages: {
        [key: string]: string[];
    };
}

TFlashMessenger

TFlashMessenger represents the TFlashMessenger object.