Skip to main content

grid-pro.genesisgriddatasourceelement.handleerrors

Home > @genesislcap/grid-pro > GenesisGridDatasourceElement > handleErrors

GenesisGridDatasourceElement.handleErrors() method

Handles errors and emits appropriate error events.

Signature:

handleErrors(errors: string | any[], type?: BaseDatasourceErrorEventDetail['type']): void;

Parameters

Parameter

Type

Description

errors

string | any[]

The error message or array of error messages

type

BaseDatasourceErrorEventDetail['type']

(Optional) The type of error that occurred

Returns:

void