amaptor.errors

exception amaptor.errors.ElementNotFoundError(*args, **kwargs)[source]

Raised when searching a layout for an element, and it’s not found

exception amaptor.errors.EmptyFieldError(field, description, **kwargs)[source]
exception amaptor.errors.LayerNotFoundError[source]

Raised when searching for a specific layer and it isn’t found.

exception amaptor.errors.LayoutExists(layout_name, **kwargs)[source]

Raised when a layout (in Pro only) already exists because a new one cannot be added with the same name

exception amaptor.errors.LayoutNotFoundError(*args, **kwargs)[source]

Raised when a process is trying to find a specific layout (Pro only) and it is not found.

exception amaptor.errors.MapExists(map_name, **kwargs)[source]

Raised when a map or data frame already exists because a new one cannot be added with the same name

exception amaptor.errors.MapFrameNotFoundError(*args, **kwargs)[source]

Raised when a process is trying to find a specific layout (Pro only) and it is not found.

exception amaptor.errors.MapNotFoundError(*args, **kwargs)[source]

Raised when a process is trying to find a specific map and it is not found.

exception amaptor.errors.MapNotImplementedError(feature_name, arcmap_or_pro, **kwargs)[source]

Raised when a feature is only implemented for either ArcMap or ArcGIS Pro and code tries to use it in the environment it is not applicable to.

exception amaptor.errors.NotSupportedError(message, **kwargs)[source]

Raised when a feature is not supported by ArcGIS itself.