skipcheck

TM1 client · Docs · Errors

Tm1ErrorKind

import { Tm1ErrorKind } from "@skipcheck/tm1-client";

What a TM1 error means, as worked out by Tm1ErrorClassifier. More specific than the HTTP status, since TM1 reports many different failures with the same status and code.

Members

NotFound staticThe object doesn't exist.
AlreadyExists staticAn object of that name already exists.
Locked staticThe object is locked (a reserved cube, a locked element).
InUse staticThe object is in use, so TM1 refused to change or delete it.
Conflict staticSome other conflict with the object's state.
PreconditionFailed staticAn If-Match ETag didn't match.
Unauthenticated staticThe session isn't logged in, or no longer is.
CredentialRejected staticThe login's credentials were refused (or the impersonated user is disabled).
Forbidden staticThe user may not do this.
NoReadRights staticThe user can't read the object.
ImpersonationRefused staticThe user may not impersonate the one asked for.
UnknownUser staticThe user to impersonate doesn't exist.
DataSpreadFailed staticA data spread couldn't be applied.
InvalidUniqueName staticA member's unique name doesn't resolve.
Cancelled staticThe operation was cancelled on TM1.
NotImplemented staticTM1 doesn't implement the operation.
Other staticNone of the above.

NotFound

static
"NotFound"

The object doesn't exist.

AlreadyExists

static
"AlreadyExists"

An object of that name already exists.

Locked

static
"Locked"

The object is locked (a reserved cube, a locked element).

InUse

static
"InUse"

The object is in use, so TM1 refused to change or delete it.

Conflict

static
"Conflict"

Some other conflict with the object's state.

PreconditionFailed

static
"PreconditionFailed"

An If-Match ETag didn't match: someone else changed the object.

Unauthenticated

static
"Unauthenticated"

The session isn't logged in, or no longer is.

CredentialRejected

static
"CredentialRejected"

The login's credentials were refused (or the impersonated user is disabled).

Forbidden

static
"Forbidden"

The user may not do this.

NoReadRights

static
"NoReadRights"

The user can't read the object.

ImpersonationRefused

static
"ImpersonationRefused"

The user may not impersonate the one asked for.

UnknownUser

static
"UnknownUser"

The user to impersonate doesn't exist.

DataSpreadFailed

static
"DataSpreadFailed"

A data spread couldn't be applied.

InvalidUniqueName

static
"InvalidUniqueName"

A member's unique name doesn't resolve.

Cancelled

static
"Cancelled"

The operation was cancelled on TM1.

NotImplemented

static
"NotImplemented"

TM1 doesn't implement the operation.

Other

static
"Other"

None of the above.