skipcheck

TM1 client · Docs · Errors

Tm1PreconditionFailedException

using Skipcheck.Tm1.Client.Errors;

An If-Match ETag was stale (412), or required and missing (428).

Members

Status propertyThe HTTP status, such as 404.
Kind propertyWhat the error means.
Error propertyTM1's error, when the response had one.
Of staticThe exception for a refused request, its kind from classifier.
Of staticThe exception for a refused request of a known kind, of the class the kind calls for.
IsRetryable429, 502, 503 and 504.
MayHaveAppliedA 5xx other than 501.
Method propertyThe request's HTTP method, when the failure is a request's.
Url propertyThe request's URL, when the failure is a request's.

Status

property
int Status

The HTTP status, such as 404.

Kind

property
Tm1ErrorKind Kind

What the error means.

Error

property
ODataError? Error

TM1's error, when the response had one.

Of

static
Tm1ApiException Of(int status, ODataError? error, string method, string url, Tm1ErrorClassifier classifier)

The exception for a refused request, its kind from classifier.

Of

static
Tm1ApiException Of(int status, Tm1ErrorKind kind, ODataError? error, string method, string url)

The exception for a refused request of a known kind, of the class the kind calls for.

IsRetryable

bool IsRetryable()

429, 502, 503 and 504: TM1 (or a proxy before it) is busy or restarting.

MayHaveApplied

bool MayHaveApplied()

A 5xx other than 501: TM1 may have failed after applying the change.

Method

property
string? Method

The request's HTTP method, when the failure is a request's.

Url

property
string? Url

The request's URL, when the failure is a request's.