Tm1ForbiddenException
using Skipcheck.Tm1.Client.Errors;Not allowed: no rights, or an impersonation TM1 refused.
Members
Status property | The HTTP status, such as 404. |
Kind property | What the error means. |
Error property | TM1's error, when the response had one. |
Of static | The exception for a refused request, its kind from classifier. |
Of static | The exception for a refused request of a known kind, of the class the kind calls for. |
IsRetryable | 429, 502, 503 and 504. |
MayHaveApplied | A 5xx other than 501. |
Method property | The request's HTTP method, when the failure is a request's. |
Url property | The request's URL, when the failure is a request's. |
Status
propertyint StatusThe HTTP status, such as 404.
Kind
propertyTm1ErrorKind KindWhat the error means.
Error
propertyODataError? ErrorTM1's error, when the response had one.
Of
staticTm1ApiException Of(int status, ODataError? error, string method, string url, Tm1ErrorClassifier classifier)The exception for a refused request, its kind from classifier.
Of
staticTm1ApiException 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
propertystring? MethodThe request's HTTP method, when the failure is a request's.
Url
propertystring? UrlThe request's URL, when the failure is a request's.