strangeworks.core.errors package

Submodules

strangeworks.core.errors.error module

error.py.

exception strangeworks.core.errors.error.StrangeworksError(message: str = '', help_page_url: str = '')

Bases: Exception

Standard Strangeworks Exception.

This is the standard Strangeworks exception type utilized in both API responses to errors or from the SDK implementation when a known error is captured.

classmethod authentication_error(message: str | None = None, help_page_url: str | None = None)
classmethod bad_response(message: str | None = None, help_page_url: str | None = None)
classmethod invalid_argument(message: str | None = None, help_page_url: str | None = None)
classmethod not_implemented(help_page_url: str | None = None)
classmethod server_error(message: str | None = None, query_id: int | None = None, help_page_url: str | None = None)
classmethod timeout(message: str | None = None, help_page_url: str | None = None)

Module contents

__init.py.