sym.sdk.errors

Common errors that can be thrown.

Exceptions

SymIntegrationError

Raised when there is an error in an Integration.

SymSDKError

The base exception class used by Sym’s SDK.

exception sym.sdk.errors.SymIntegrationError(message: str = '', hint: Optional[str] = None, doc_url: Optional[str] = None, *, error_code: Optional[enum.Enum] = None, params: Optional[dict] = None)

Bases: sym.sdk.errors.SymSDKError

Raised when there is an error in an Integration.

Each exception includes an error code that you can use to reach out to support.

format_slack()str

Returns a string representation of this error formatted for display in Slack-compatible markdown.

with_traceback()

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

exception sym.sdk.errors.SymSDKError(message: str, hint: str, doc_url: str, **kwargs)

Bases: Exception

The base exception class used by Sym’s SDK.

format_slack()str

Returns a string representation of this error formatted for display in Slack-compatible markdown.

with_traceback()

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