@gooddata/react-components
Version:
GoodData.UI - A powerful JavaScript library for building analytical applications
68 lines (67 loc) • 2.1 kB
TypeScript
export declare enum ErrorCodes {
APP_NO_DATA = 1001,
EMPTY_AFM = 1002,
INVALID_BUCKETS = 2001
}
export declare type CANCELLED = "CANCELLED";
export declare const ErrorStates: {
/**
* This error means that server could not understand the request due to invalid syntax.
*/
BAD_REQUEST: string;
/**
* This error means that location bucket is missing
*/
GEO_LOCATION_MISSING: string;
/**
* This error means that you are not authorized.
*/
UNAUTHORIZED: string;
/**
* This error means that executed data were too large to be displayed by GoodData.UI.
*/
DATA_TOO_LARGE_TO_DISPLAY: string;
/**
* This error means that processed request would generate a result too large to be processed
* by GoodData platform.
*/
DATA_TOO_LARGE_TO_COMPUTE: string;
/**
* This error means that processed result contains negative values which does not make
* sense within the given visualization (e.g. pie chart with negative values).
*/
NEGATIVE_VALUES: string;
/**
* This error means that the processed result does not contain any data.
*/
NO_DATA: string;
/**
* This error means that requested entity (e.g. a visualization) was not found on the server.
*/
NOT_FOUND: string;
/**
* This error means that empty AFM was went to the GoodData.UI and as such can't be executed.
*/
EMPTY_AFM: string;
/**
* @internal
*/
INVALID_BUCKETS: string;
/**
* This error means that requested visualization is restricted by access rules within the GoodData platform.
* Please contact your administrator.
*/
PROTECTED_REPORT: string;
/**
* This error means that GoodData.UI does not know how to handle such error.
*/
UNKNOWN_ERROR: string;
/**
* This error means that request has been cancelled usually after component has been unmounted.
*/
CANCELLED: string;
/**
* This error means that mapbox token of GeoChart is missing
*/
GEO_MAPBOX_TOKEN_MISSING: string;
};