sym.sdk.exceptions.sdk¶
Exceptions
This error is raised when a Sym SDK method is called without the required arguments. |
|
Generic exceptions raised by the Sym SDK at runtime. |
- exception sym.sdk.exceptions.sdk.MissingArgument(arg: str, method: str)¶
Bases:
sym.sdk.exceptions.sdk.SDKError
This error is raised when a Sym SDK method is called without the required arguments.
- Parameters
arg – The name of the missing argument
method – The name of the SDk method that was called
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception sym.sdk.exceptions.sdk.SDKError(name: str, message: str, error_type: str = 'SymSDK')¶
Bases:
sym.sdk.exceptions.sym_exception.SymException
Generic exceptions raised by the Sym SDK at runtime.
- Parameters
name – The name of the exception (used as the second part of the error_code, e.g. MISSING_ARGUMENT)
message – The exception message to display
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.