Errors¶
Exception Hierarchy¶
APIConnectionUnavailableErrormay be raised before the server shuts down the API connection, for instance, while the server is terminating.
- exception jetstream.errors.APIMethodDeprecatedError¶
APIMethodDeprecatedErroris raised when an API function no longer exists.
- exception jetstream.errors.APIMethodNotFoundError¶
APIMethodNotFoundErroris raised when the server does not recognize an API function.
- exception jetstream.errors.ApiVersionError(name, requires_version, connected_version)¶
ApiVersionErroris raised when an API command is used whose interface is not compatible with the connected JetStream server.
- exception jetstream.errors.CommandError¶
CommandErroris a catch-all exception for API command failures without more a specific error type.
- exception jetstream.errors.ConnectionNotFoundError¶
ConnectionNotFoundErroris raised when a connection id cannot be accessed by the user.
- exception jetstream.errors.DestinationNotFoundError¶
DestinationNotFoundErroris raised when a destination id cannot be accessed by the user.
- exception jetstream.errors.FileSystemError¶
FileSystemErroris raised when there us an I/O error.
- exception jetstream.errors.FileSystemOperationNotSupportedError¶
FileSystemOperationNotSupportedis raised when the requested operation is no supported on the underlying file system.
- exception jetstream.errors.InsufficientPermissionsError¶
InsufficientPermissionsErroris raised when an authenticated user does not have permission to complete the operation. For instance, some functions require superuser privileges.
- exception jetstream.errors.InvalidCredentialsError¶
InvalidCredentialsErroris raised when invalid credentials, such as passwords, are used to authenticate the user.
- exception jetstream.errors.InvalidLicenseError¶
InvalidLicenseErroris raised when the server does not have a valid license but the operation requires one.
- exception jetstream.errors.InvalidParameterError¶
InvalidParameterErroris raised when a parameter to an API function is correctly structured, but has invalid data, such as a number that it our of range or a string that has an unexpected format.
- exception jetstream.errors.InvalidParameterFormatError¶
InvalidParameterFormatErroris raised when a parameter to an API function is missing, is the wrong type, or generally is not structured correctly.
- exception jetstream.errors.JetStreamClientException¶
JetStreamClientExceptionis the base class for all JetStream API exceptions.
- jetstream.errors.JetstreamClientException¶
alias of
JetStreamClientException
- exception jetstream.errors.ManifestNotFoundError¶
ManifestNotFoundErroris raised when a manifest id cannot be accessed by the user.
- exception jetstream.errors.NotAuthenticatedError¶
NotAuthenticatedErroris raised when a restricted API function is called by a user who has not authenticated.
- exception jetstream.errors.NotConnectedError¶
NotConnectedErroris raised when an attempt is made to send a command from an API interface which is not connected to a JetStream server.
- exception jetstream.errors.OperationFailedError¶
OperationFailedErroris a general exception when the API function cannot be completed.
- exception jetstream.errors.PacketTooBigError¶
PacketTooBigErroris raised when transmission error between the API and the JetStream server resulted in a packet which overflowed the maximum size allowed.
- exception jetstream.errors.ProtocolError¶
ProtocolErroris raised when a transmission error between the API and the JetStream server resulted in a command which was not recognized, or did not match the expected format.
- exception jetstream.errors.RequestNotFoundError¶
RequestNotFoundErroris raised when a request id cannot be accessed by the user.
ResourceUnavailableErroris raised when a hardware or OS resource, such as memory, cannot be allocated.
SharedTokenNotFoundErroris raised when a shared token cannot be accessed by the user.
- exception jetstream.errors.TransferNotFoundError¶
TransferNotFoundErroris raised when a transfer id cannot be accessed by the user.
- exception jetstream.errors.UnsupportedSSLVersionError¶
UnsupportedSSLVersionErroris raised when the client doesn’t support the minimum SSL version required by the server
- exception jetstream.errors.APIConnectionUnavailableError¶
APIConnectionUnavailableErrormay be raised before the server shuts down the API connection, for instance, while the server is terminating.
- exception jetstream.errors.APIMethodDeprecatedError¶
APIMethodDeprecatedErroris raised when an API function no longer exists.
- exception jetstream.errors.APIMethodNotFoundError¶
APIMethodNotFoundErroris raised when the server does not recognize an API function.
- exception jetstream.errors.ApiVersionError(name, requires_version, connected_version)¶
ApiVersionErroris raised when an API command is used whose interface is not compatible with the connected JetStream server.
- exception jetstream.errors.CommandError¶
CommandErroris a catch-all exception for API command failures without more a specific error type.
- exception jetstream.errors.ConnectionNotFoundError¶
ConnectionNotFoundErroris raised when a connection id cannot be accessed by the user.
- exception jetstream.errors.DestinationNotFoundError¶
DestinationNotFoundErroris raised when a destination id cannot be accessed by the user.
- exception jetstream.errors.FileSystemError¶
FileSystemErroris raised when there us an I/O error.
- exception jetstream.errors.FileSystemOperationNotSupportedError¶
FileSystemOperationNotSupportedis raised when the requested operation is no supported on the underlying file system.
- exception jetstream.errors.InsufficientPermissionsError¶
InsufficientPermissionsErroris raised when an authenticated user does not have permission to complete the operation. For instance, some functions require superuser privileges.
- exception jetstream.errors.InvalidCredentialsError¶
InvalidCredentialsErroris raised when invalid credentials, such as passwords, are used to authenticate the user.
- exception jetstream.errors.InvalidLicenseError¶
InvalidLicenseErroris raised when the server does not have a valid license but the operation requires one.
- exception jetstream.errors.InvalidParameterError¶
InvalidParameterErroris raised when a parameter to an API function is correctly structured, but has invalid data, such as a number that it our of range or a string that has an unexpected format.
- exception jetstream.errors.InvalidParameterFormatError¶
InvalidParameterFormatErroris raised when a parameter to an API function is missing, is the wrong type, or generally is not structured correctly.
- exception jetstream.errors.JetStreamClientException¶
JetStreamClientExceptionis the base class for all JetStream API exceptions.
- jetstream.errors.JetstreamClientException¶
alias of
JetStreamClientException
- exception jetstream.errors.ManifestNotFoundError¶
ManifestNotFoundErroris raised when a manifest id cannot be accessed by the user.
- exception jetstream.errors.NotAuthenticatedError¶
NotAuthenticatedErroris raised when a restricted API function is called by a user who has not authenticated.
- exception jetstream.errors.NotConnectedError¶
NotConnectedErroris raised when an attempt is made to send a command from an API interface which is not connected to a JetStream server.
- exception jetstream.errors.OperationFailedError¶
OperationFailedErroris a general exception when the API function cannot be completed.
- exception jetstream.errors.PacketTooBigError¶
PacketTooBigErroris raised when transmission error between the API and the JetStream server resulted in a packet which overflowed the maximum size allowed.
- exception jetstream.errors.ProtocolError¶
ProtocolErroris raised when a transmission error between the API and the JetStream server resulted in a command which was not recognized, or did not match the expected format.
- exception jetstream.errors.RequestNotFoundError¶
RequestNotFoundErroris raised when a request id cannot be accessed by the user.
- exception jetstream.errors.ResourceUnavailableError¶
ResourceUnavailableErroris raised when a hardware or OS resource, such as memory, cannot be allocated.
- exception jetstream.errors.SharedTokenNotFoundError¶
SharedTokenNotFoundErroris raised when a shared token cannot be accessed by the user.
- exception jetstream.errors.TransferNotFoundError¶
TransferNotFoundErroris raised when a transfer id cannot be accessed by the user.
- exception jetstream.errors.UnsupportedSSLVersionError¶
UnsupportedSSLVersionErroris raised when the client doesn’t support the minimum SSL version required by the server