Exceptions¶
The following exceptions may be raised during the course of using
tornado_aws.client.AWSClient
and
tornado_aws.client.AsyncAWSClient
:
-
exception
tornado_aws.exceptions.
AWSClientException
(**kwargs)[source]¶ Base exception class for AWSClient
Variables: msg – The error message -
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
tornado_aws.exceptions.
AWSError
(**kwargs)[source]¶ Raised when the credentials could not be located.
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
tornado_aws.exceptions.
ConfigNotFound
(**kwargs)[source]¶ The configuration file could not be parsed.
Variables: path – The path to the config file -
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
tornado_aws.exceptions.
ConfigParserError
(**kwargs)[source]¶ Error raised when parsing a configuration file with :py:class`configparser.RawConfigParser`
Variables: path – The path to the config file -
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
tornado_aws.exceptions.
CurlNotInstalledError
[source]¶ Raised when the CurlAsyncHTTPClient is requested but pycurl is not installed.
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
tornado_aws.exceptions.
LocalCredentialsError
(**kwargs)[source]¶ Raised when the credentials could not be located.
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
tornado_aws.exceptions.
NoCredentialsError
(**kwargs)[source]¶ Raised when the credentials could not be located.
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
tornado_aws.exceptions.
NoProfileError
(**kwargs)[source]¶ Raised when the specified profile could not be located.
Variables: - path – The path to the config file
- profile – The profile that was specified
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.