rasterio._err module

rasterio._err

Exception-raising wrappers for GDAL API functions.

exception rasterio._err.CPLE_AWSAccessDeniedError(error, errno, errmsg)

Bases: CPLE_BaseError

exception rasterio._err.CPLE_AWSBucketNotFoundError(error, errno, errmsg)

Bases: CPLE_BaseError

exception rasterio._err.CPLE_AWSError(error, errno, errmsg)

Bases: CPLE_BaseError

exception rasterio._err.CPLE_AWSInvalidCredentialsError(error, errno, errmsg)

Bases: CPLE_BaseError

exception rasterio._err.CPLE_AWSObjectNotFoundError(error, errno, errmsg)

Bases: CPLE_BaseError

exception rasterio._err.CPLE_AWSSignatureDoesNotMatchError(error, errno, errmsg)

Bases: CPLE_BaseError

exception rasterio._err.CPLE_AppDefinedError(error, errno, errmsg)

Bases: CPLE_BaseError

exception rasterio._err.CPLE_AssertionFailedError(error, errno, errmsg)

Bases: CPLE_BaseError

exception rasterio._err.CPLE_BaseError(error, errno, errmsg)

Bases: Exception

Base CPL error class

Exceptions deriving from this class are intended for use only in Rasterio’s Cython code. Let’s not expose API users to them.

property args
exception rasterio._err.CPLE_FileIOError(error, errno, errmsg)

Bases: CPLE_BaseError

exception rasterio._err.CPLE_HttpResponseError(error, errno, errmsg)

Bases: CPLE_BaseError

exception rasterio._err.CPLE_IllegalArgError(error, errno, errmsg)

Bases: CPLE_BaseError

exception rasterio._err.CPLE_NoWriteAccessError(error, errno, errmsg)

Bases: CPLE_BaseError

exception rasterio._err.CPLE_NotSupportedError(error, errno, errmsg)

Bases: CPLE_BaseError

exception rasterio._err.CPLE_OpenFailedError(error, errno, errmsg)

Bases: CPLE_BaseError

exception rasterio._err.CPLE_OutOfMemoryError(error, errno, errmsg)

Bases: CPLE_BaseError

exception rasterio._err.CPLE_UserInterruptError(error, errno, errmsg)

Bases: CPLE_BaseError

class rasterio._err.GDALError(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: IntEnum

debug = 1
failure = 3
fatal = 4
none = 0
warning = 2
exception rasterio._err.ObjectNullError(error, errno, errmsg)

Bases: CPLE_BaseError

class rasterio._err.StackChecker

Bases: object

rasterio._err.stack_errors()