Skip to main content

Errors

ActivePivotClientNotFoundError

Thrown when an ActivePivotClient identified by a serverKey is not provided via ClientsProvider.

try {

} catch(error: Error) {
if(error instanceof ActivePivotClientNotFoundError) {
// handle ActivePivotClientNotFoundError
}
}

BadRequestError

Thrown when an HTTP status of 400 is received.

try {

} catch(error: Error) {
if(error instanceof BadRequestError) {
// handle BadRequestError
}
}

ClientsNotFoundError

Thrown when no clients are found. They must be provided via ClientsProvider.

try {

} catch(error: Error) {
if(error instanceof ClientsNotFoundError) {
// handle ClientsNotFoundError
}
}

ConfigurationNotFoundError

Thrown when no Configuration is found. It must be provided using ConfigurationProvider.

try {

} catch(error: Error) {
if(error instanceof ConfigurationNotFoundError) {
// handle ConfigurationNotFoundError
}
}

ContentClientNotFoundError

Thrown when no ContentClient is found. It must be provided via ClientsProvider.

try {

} catch(error: Error) {
if(error instanceof ContentClientNotFoundError) {
// handle ContentClientNotFoundError
}
}

CubelessQueryError

Thrown when an MdxSelect, an MdxSubSelect or an MdxDrillthrough does not specify the name of its target Cube.

try {

} catch(error: Error) {
if(error instanceof CubelessQueryError) {
// handle CubelessQueryError
}
}

CubeNotFoundError

Thrown when a Cube cannot be found. This can happen in particular when loading a saved widget after updating a cube's name on the server side.

try {

} catch(error: Error) {
if(error instanceof CubeNotFoundError) {
// handle CubeNotFoundError
}
}

DataModelNotFoundError

Thrown when a DataModel identified by a serverKey is not found in the ClientsContext.

try {

} catch(error: Error) {
if(error instanceof DataModelNotFoundError) {
// handle DataModelNotFoundError
}
}

DimensionNotFoundError

Thrown when a Dimension cannot be found in a Cube. This can happen in particular when loading a saved widget after updating a cube on the server side.

try {

} catch(error: Error) {
if(error instanceof DimensionNotFoundError) {
// handle DimensionNotFoundError
}
}

EmptyDataModelError

Thrown when a DataModel does not contain any cube. This can happen in particular when a user is not granted access to any cube.

try {

} catch(error: Error) {
if(error instanceof EmptyDataModelError) {
// handle EmptyDataModelError
}
}

ExpiredLicenseError

Thrown when the license of a target ActivePivot server has expired.

try {

} catch(error: Error) {
if(error instanceof ExpiredLicenseError) {
// handle ExpiredLicenseError
}
}

ForbiddenError

Thrown when an HTTP status of 403 is received.

try {

} catch(error: Error) {
if(error instanceof ForbiddenError) {
// handle ForbiddenError
}
}

HierarchyNotFoundError

Thrown when a Hierarchy cannot be found in a Dimension. This can happen in particular when loading a saved widget after updating a cube on the server side.

try {

} catch(error: Error) {
if(error instanceof HierarchyNotFoundError) {
// handle HierarchyNotFoundError
}
}

InternalServerError

Thrown when an HTTP status of 500 is received.

try {

} catch(error: Error) {
if(error instanceof InternalServerError) {
// handle InternalServerError
}
}

InvalidContentError

Thrown when the content fetched from the Content Server is not a valid JSON object.

try {

} catch(error: Error) {
if(error instanceof InvalidContentError) {
// handle InvalidContentError
}
}

InvalidDraggedWidgetError

Thrown when a dragged widget was dropped into a dashboard but did not have an initial state attached to it.

try {

} catch(error: Error) {
if(error instanceof InvalidDraggedWidgetError) {
// handle InvalidDraggedWidgetError
}
}

InvalidMdxFilterError

Thrown when an Mdx is expected to represent a Filter but cannot be interpreted as such.

try {

} catch(error: Error) {
if(error instanceof InvalidMdxFilterError) {
// handle InvalidMdxFilterError
}
}

InvalidMeasureConditionalStyleError

Thrown when a measure conditional style is invalid.

try {

} catch(error: Error) {
if(error instanceof InvalidMeasureConditionalStyleError) {
// handle InvalidMeasureConditionalStyleError
}
}

InvalidMemberError

Thrown when expression cannot be resolved as a member of cube cubeName.

try {

} catch(error: Error) {
if(error instanceof InvalidMemberError) {
// handle InvalidMemberError
}
}

InvalidNamePathError

Thrown when a member has an empty namePath. This can happen in case of misconfiguration of a widget.

try {

} catch(error: Error) {
if(error instanceof InvalidNamePathError) {
// handle InvalidNamePathError
}
}

InvalidServiceVersionIdError

Thrown when a ServiceVersion id is not valid.

try {

} catch(error: Error) {
if(error instanceof InvalidServiceVersionIdError) {
// handle InvalidServiceVersionIdError
}
}

InvalidTupleKeyError

Thrown when a tuple key could not be parsed as a comma-separated list of member compound identifiers.

try {

} catch(error: Error) {
if(error instanceof InvalidTupleKeyError) {
// handle InvalidTupleKeyError
}
}

JwtNotFoundError

Thrown when no JWT is found. It must be provided using JwtProvider.

try {

} catch(error: Error) {
if(error instanceof JwtNotFoundError) {
// handle JwtNotFoundError
}
}

LevelNotFoundError

Thrown when a Level cannot be found in a Hierarchy. This can happen in particular when loading a saved widget after updating a cube on the server side.

try {

} catch(error: Error) {
if(error instanceof LevelNotFoundError) {
// handle LevelNotFoundError
}
}

MdxError

Thrown when parsing an invalid Mdx query.

try {

} catch(error: Error) {
if(error instanceof MdxError) {
// handle MdxError
}
}

MissingMetaDataError

Thrown when the metadata file is missing or if the user does not have the permission to read it.

try {

} catch(error: Error) {
if(error instanceof MissingMetaDataError) {
// handle MissingMetaDataError
}
}

NoResponseError

Thrown when an HTTP request does not trigger any response from the server. This happens when the target server is down.

try {

} catch(error: Error) {
if(error instanceof NoResponseError) {
// handle NoResponseError
}
}

PluginNotFoundError

Thrown when a plugin identified by a pluginKey is not found in the registry. This can be caused by the absence of a PluginProvider in the React tree, or by the fact that pluginKey is malformed and does not correspond to any provided plugin.

try {

} catch(error: Error) {
if(error instanceof PluginNotFoundError) {
// handle PluginNotFoundError
}
}

ResourceNotFoundError

Thrown when an HTTP status of 404 is received.

try {

} catch(error: Error) {
if(error instanceof ResourceNotFoundError) {
// handle ResourceNotFoundError
}
}

ThemeNotFoundError

Thrown when a Theme cannot be found. This can happen in particular if the user's theme setting references a theme which does not exist in configuration.themes. See Configuration.

try {

} catch(error: Error) {
if(error instanceof ThemeNotFoundError) {
// handle ThemeNotFoundError
}
}

UnauthorizedError

Thrown when an HTTP status of 401 is received.

try {

} catch(error: Error) {
if(error instanceof UnauthorizedError) {
// handle UnauthorizedError
}
}

UnsupportedServerVersionError

Thrown when a server version is unsupported.

try {

} catch(error: Error) {
if(error instanceof UnsupportedServerVersionError) {
// handle UnsupportedServerVersionError
}
}

UserNotFoundError

Thrown when no User is found. It must be provided using UserProvider.

try {

} catch(error: Error) {
if(error instanceof UserNotFoundError) {
// handle UserNotFoundError
}
}