sar_processor.exceptions package#

This module is an example for managing exceptions of the package.

Submodules#

sar_processor.exceptions.errors module#

exception sar_processor.exceptions.errors.InputValidationError#

Bases: SarProcessorError

An input product or parameter failed validation.

exception sar_processor.exceptions.errors.MyError#

Bases: Exception

Raised when an error occurs.

exception sar_processor.exceptions.errors.SarProcessorError#

Bases: Exception

Base class for all sar-processor errors (hierarchy grows with the stage set; see SDD <5.2>).

sar_processor.exceptions.warnings module#

exception sar_processor.exceptions.warnings.MyWarning#

Bases: Warning

Raised when an alert should be displayed.