Skip to content

UnknownErrorDetails

Class: warmhub.UnknownErrorDetails

UnknownErrorDetails(reason: str, raw: JsonMapping)

Forward compatibility: a reason this client does not know yet.

Without this variant a backend adding a reason — or shipping an arm whose payload this client cannot parse — would make the client raise on an error it merely failed to classify.

as_dict()

The exact server payload as a plain, mutable, serializable dict.

Wire keys, wire nesting, no client naming applied — the same content as raw, in the form you can hand to dumps, mutate, or pass to code that demands a real dict. Built fresh on each call, so editing the result cannot reach the model.

reason

Documentation is not yet available.

raw

Documentation is not yet available.