rex.utilities.exceptions

Custom Exceptions and Errors

Exceptions

ExecutionError

Error for execution failure

ExtrapolationWarning

Warning for when value will be extrapolated

FileInputError

Error during input file checks.

HandlerRuntimeError

RuntimeError for Handlers

HandlerValueError

ValueError for Handlers

HpcError

Error for HPC failure

JSONError

Error reading json file.

LoggerWarning

Warning for bad logger inputs

MoninObukhovExtrapolationError

Custom error when WindResource._monin_obhukov_extrapolation fails

ParallelExecutionWarning

Warning for parallel job execution.

PbsWarning

Warning for PBS errors/warnings

ResourceError

Error for poorly formatted resource.

ResourceKeyError

KeyError for Resources

ResourceRuntimeError

RuntimeError for Resources

ResourceValueError

ValueError for Resources

ResourceWarning

Warning during .h5 handling

RetryError

Custom Error for Retry Decorator

RetryWarning

Warning that Retry decorator is trying again

SAMInputWarning

Warning for bad SAM inputs

SlurmError

Error for SLURM failure

SlurmWarning

Warning for SLURM errors/warnings