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