skipcheck

TM1 client · Docs · Errors

Tm1Error

from skipcheck_tm1 import Tm1Error

Something went wrong talking to TM1. The root of all the client's exceptions; unchecked.

  • Tm1ApiError: TM1 answered with an error.
  • Tm1TransportError: no complete answer, e.g. connection refused or timed out.
  • Tm1ProtocolError: an answer the client couldn't read, including errors that happened after TM1 had started a successful response.

Members

__init__ constructor
is_retryableWhether sending the same request again could succeed.
may_have_appliedWhether the request may have taken effect on TM1 despite the failure.
methodThe request's HTTP method, or None if not known.
urlThe request's URL, never including credentials, or None if not known.

__init__

constructor
__init__(message: str, method: str | None = None, url: str | None = None)

is_retryable

is_retryable() -> bool

Whether sending the same request again could succeed.

may_have_applied

may_have_applied() -> bool

Whether the request may have taken effect on TM1 despite the failure.

method

method

The request's HTTP method, or None if not known.

url

url

The request's URL, never including credentials, or None if not known.