skipcheck

TM1 client · Docs · Errors

Tm1ProtocolError

from skipcheck_tm1 import Tm1ProtocolError

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. OData says a client must treat such a response as failed as a whole (Part 1 §9.5), so any items already delivered from it should be treated as incomplete.

Members

__init__ constructorCreates an exception for a response that couldn't be read.
may_have_appliedThe server got the request and started answering.
errorThe error TM1 reported in the response, if it reported one.
is_retryableWhether sending the same request again could succeed.
method
url

__init__

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

Creates an exception for a response that couldn't be read.

may_have_applied

may_have_applied() -> bool

True: the server got the request and started answering.

error

error

The error TM1 reported in the response, if it reported one.

is_retryable

is_retryable() -> bool

Whether sending the same request again could succeed.

method

method

url

url