@mui/x-data-grid
Version:
The Community plan edition of the MUI X Data Grid components.
32 lines • 779 B
JavaScript
export class GridGetRowsError extends Error {
constructor(options) {
super(options.message);
/**
* The parameters used in the failed request
*/
this.params = void 0;
/**
* The original error that caused this error
*/
this.cause = void 0;
this.name = 'GridGetRowsError';
this.params = options.params;
this.cause = options.cause;
}
}
export class GridUpdateRowError extends Error {
constructor(options) {
super(options.message);
/**
* The parameters used in the failed request
*/
this.params = void 0;
/**
* The original error that caused this error
*/
this.cause = void 0;
this.name = 'GridUpdateRowError';
this.params = options.params;
this.cause = options.cause;
}
}