sym.sdk.exceptions.aws

Exceptions

AWSError

This is the base class for all AWSErrors

AWSIAMError

This is the base class for all AWS IAM exceptions raised by the Sym Runtime.

AWSLambdaError

This is the base class for all AWS Lambda exceptions raised by the Sym Runtime.

AWSSSOError

This is the base class for all AWS SSO exceptions raised by the Sym Runtime.

exception sym.sdk.exceptions.aws.AWSError(name: str, message: str, error_type: str = 'AWS')

Bases: sym.sdk.exceptions.sym_exception.SymException

This is the base class for all AWSErrors

Parameters
  • name – The name of the exception (used as the second part of the error_code, e.g. ASSUME_ROLE_FAILED)

  • message – The exception message to display

with_traceback()

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

exception sym.sdk.exceptions.aws.AWSIAMError(name: str, message: str)

Bases: sym.sdk.exceptions.aws.AWSError

This is the base class for all AWS IAM exceptions raised by the Sym Runtime.

Parameters
  • name – The name of the exception (used as the second part of the error_code, e.g. GROUP_NOT_FOUND)

  • message – The exception message to display

with_traceback()

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

exception sym.sdk.exceptions.aws.AWSLambdaError(name: str, message: str)

Bases: sym.sdk.exceptions.aws.AWSError

This is the base class for all AWS Lambda exceptions raised by the Sym Runtime.

Parameters
  • name – The name of the exception (used as the second part of the error_code, e.g. FATAL_FUNCTION_ERROR)

  • message – The exception message to display

with_traceback()

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

exception sym.sdk.exceptions.aws.AWSSSOError(name: str, message: str)

Bases: sym.sdk.exceptions.aws.AWSError

This is the base class for all AWS SSO exceptions raised by the Sym Runtime.

Parameters
  • name – The name of the exception (used as the second part of the error_code, e.g. GROUP_NOT_FOUND)

  • message – The exception message to display

with_traceback()

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