Exceptions

exception aiosnow.exceptions.AiosnowException[source]

Bases: Exception

exception aiosnow.exceptions.AmbiguousClientAuthentication[source]

Bases: aiosnow.exceptions.AiosnowException

Multiple authentication methods provided

exception aiosnow.exceptions.ClientConnectionError[source]

Bases: aiosnow.exceptions.AiosnowException

Raised when there was a problem connecting to the server

exception aiosnow.exceptions.ConfigurationError[source]

Bases: aiosnow.exceptions.AiosnowException

Configuration error

exception aiosnow.exceptions.DeleteError[source]

Bases: aiosnow.exceptions.AiosnowException

Raised if there was an error deleting a record

exception aiosnow.exceptions.DeserializationError[source]

Bases: aiosnow.exceptions.AiosnowException

Raised when there was an issue with deserialization

exception aiosnow.exceptions.ErrorResponse(message: str, status: int)[source]

Bases: aiosnow.exceptions.RequestError

The server returned an error in the response

exception aiosnow.exceptions.IncompatiblePayloadField[source]

Bases: aiosnow.exceptions.AiosnowException

An incompatible field was found in the payload

exception aiosnow.exceptions.InvalidContentMethod[source]

Bases: aiosnow.exceptions.AiosnowException

Raised if the response content was incorrectly accessed

exception aiosnow.exceptions.InvalidFieldName[source]

Bases: aiosnow.exceptions.AiosnowException

Usually raised if an attempt is made to override a base member with a Field

exception aiosnow.exceptions.MissingClientAuthentication[source]

Bases: aiosnow.exceptions.AiosnowException

No authentication method provided

exception aiosnow.exceptions.NoItems[source]

Bases: aiosnow.exceptions.AiosnowException

The request yielded no results

exception aiosnow.exceptions.PayloadValidationError[source]

Bases: aiosnow.exceptions.AiosnowException

Local payload validation against a Resource Schema failed

exception aiosnow.exceptions.RequestError(message: str, status: int)[source]

Bases: aiosnow.exceptions.AiosnowException

The application returned a parsable error in the response

exception aiosnow.exceptions.SchemaError[source]

Bases: aiosnow.exceptions.AiosnowException

Generic exception raised on schema issues, e.g. integrity errors

exception aiosnow.exceptions.SelectError[source]

Bases: aiosnow.exceptions.AiosnowException

Raised on query builder issues

exception aiosnow.exceptions.SerializationError[source]

Bases: aiosnow.exceptions.AiosnowException

Raised when there was an issue with serialization

exception aiosnow.exceptions.TooManyItems[source]

Bases: aiosnow.exceptions.AiosnowException

The request yielded too many results

exception aiosnow.exceptions.UnexpectedContentType[source]

Bases: aiosnow.exceptions.AiosnowException

Unexpected content type from server

exception aiosnow.exceptions.UnexpectedPayloadType[source]

Bases: aiosnow.exceptions.AiosnowException

Raised when the request payload was of an unexpected type

exception aiosnow.exceptions.UnexpectedResponseContent(message: str, status: int)[source]

Bases: aiosnow.exceptions.RequestError

Unexpected content in response from server

exception aiosnow.exceptions.UnexpectedValue[source]

Bases: aiosnow.exceptions.AiosnowException

Typically raised when a method receives unexpected input

exception aiosnow.exceptions.UnknownPayloadField[source]

Bases: aiosnow.exceptions.AiosnowException

A field unknown to the schema was found in the payload