pyorps.core.exceptions
PYORPS: An Open-Source Tool for Automated Power Line Routing
Reference: [1] Hofmann, M., Stetz, T., Kammer, F., Repo, S.: ‘PYORPS: An Open-Source Tool for
Automated Power Line Routing’, CIRED 2025 - 28th Conference and Exhibition on Electricity Distribution, 16 - 19 June 2025, Geneva, Switzerland
Exceptions for CostAssumptions
Exceptions
|
Custom exception if a specific algorithm is not implemented in the API or the graph library |
Exception raised when column analysis fails |
|
Base exception for CostAssumptions class. |
|
Base exception for feature column detection errors |
|
Exception raised when loading files fails. |
|
Exception raised when data format is invalid. |
|
Exception raised when the provided source is invalid. |
|
|
Custom exception if no path can be found in the graph for source and target |
Exception raised when no suitable columns are found |
|
Custom exception if pairwise computation fails |
|
|
Custom exception if the raster shape is not supported |
Exception raised for connection issues with WFS services. |
|
Base exception for WFS-related errors. |
|
Exception raised when a requested layer cannot be found. |
|
Exception raised when parsing WFS responses fails. |
- exception pyorps.core.exceptions.CostAssumptionsError[source]
Bases:
ExceptionBase exception for CostAssumptions class.
- exception pyorps.core.exceptions.FileLoadError[source]
Bases:
CostAssumptionsErrorException raised when loading files fails.
- exception pyorps.core.exceptions.InvalidSourceError[source]
Bases:
CostAssumptionsErrorException raised when the provided source is invalid.
- exception pyorps.core.exceptions.FormatError[source]
Bases:
CostAssumptionsErrorException raised when data format is invalid.
- exception pyorps.core.exceptions.FeatureColumnError[source]
Bases:
ExceptionBase exception for feature column detection errors
- exception pyorps.core.exceptions.NoSuitableColumnsError[source]
Bases:
FeatureColumnErrorException raised when no suitable columns are found
- exception pyorps.core.exceptions.ColumnAnalysisError[source]
Bases:
FeatureColumnErrorException raised when column analysis fails
- exception pyorps.core.exceptions.WFSError[source]
Bases:
ExceptionBase exception for WFS-related errors.
- exception pyorps.core.exceptions.WFSConnectionError[source]
Bases:
WFSErrorException raised for connection issues with WFS services.
- exception pyorps.core.exceptions.WFSResponseParsingError[source]
Bases:
WFSErrorException raised when parsing WFS responses fails.
- exception pyorps.core.exceptions.WFSLayerNotFoundError[source]
Bases:
WFSErrorException raised when a requested layer cannot be found.
- exception pyorps.core.exceptions.RasterShapeError(raster_shape)[source]
Bases:
ExceptionCustom exception if the raster shape is not supported
- exception pyorps.core.exceptions.NoPathFoundError(source, target, add_message='')[source]
Bases:
ExceptionCustom exception if no path can be found in the graph for source and target