Package io.skipcheck.tm1.client.error
@NullMarked
package io.skipcheck.tm1.client.error
The client's exceptions. Everything the client signals is a
Tm1Exception, unchecked, delivered through
Mono.error/Flux.error, never thrown when a request is assembled. Each
says whether retrying could help (isRetryable()) and whether the request may
already have taken effect (mayHaveApplied()).
Everything here is non-null unless marked Nullable.
-
ClassDescriptionAn OData error response body:
{"error":{"code":"278","message":"..."}}.TM1 answered with an error status.Not logged in, the session expired, or the credentials were refused (Tm1ErrorKind.CREDENTIAL_REJECTED).400-range errors not covered by another type, e.g.The request conflicts with existing state: the object exists, is locked or is in use.Works out aTm1ErrorKindfrom an error response.One classification rule.What a TM1 error means, as worked out byTm1ErrorClassifier.Something went wrong talking to TM1.Not allowed: no rights, or an impersonation TM1 refused.The object doesn't exist, whether TM1 said 404 or 400.TM1 doesn't implement the request (501), such as$search.AnIf-MatchETag was stale (412), or required and missing (428).TM1's response couldn't be read: malformed or truncated JSON, an unexpected shape, or an error reported in the middle of a response that started as a success.TM1 failed while handling the request (5xx).No complete response from TM1: the connection failed, was reset, or timed out.How far the request got.The connected server doesn't define what a request needs, so the client didn't send it.