FoundryStorageError Class

Base class for errors returned by the Foundry storage API.

Constructor

FoundryStorageError(message: str, *, response_body: dict[str, Any] | None = None)

Parameters

Name Description
message
Required

Keyword-Only Parameters

Name Description
response_body
Default value: None

Methods

add_note

Exception.add_note(note) – add a note to the exception

with_traceback

Exception.with_traceback(tb) – set self.traceback to tb and return self.

add_note

Exception.add_note(note) – add a note to the exception

add_note()

with_traceback

Exception.with_traceback(tb) – set self.traceback to tb and return self.

with_traceback()

Attributes

args