pygcam.error
¶
This module contains subclasses of Exception used by pygcam.
API¶
-
exception
pygcam.error.
CommandlineError
¶ Command-line arguments were missing or incorrectly specified.
-
exception
pygcam.error.
ConfigFileError
¶ Raised when an error is found in the configuration file
~/.pygcam.cfg
.
-
exception
pygcam.error.
FileExistsError
(filename)¶ Raised when trying to write a file that already exists (if not allowed)
-
exception
pygcam.error.
FileFormatError
¶ Indicate a syntax error in a user-managed file.
-
exception
pygcam.error.
FileMissingError
(filename, reason)¶ Indicate that a required file was not found or not readable.
-
exception
pygcam.error.
GcamError
¶ The gcamWrapper detected and error and terminated the model run.
-
exception
pygcam.error.
GcamSolverError
¶ The gcamWrapper detected and error and terminated the model run.
-
exception
pygcam.error.
ProgramExecutionError
(command, exitCode=None)¶ Raised when attempt to execute a program (e.g., the GCAM model or ModelInterface) fails.
-
exception
pygcam.error.
PygcamException
¶ Base class for pygcam Exceptions.
-
exception
pygcam.error.
SetupException
¶ Raised from the setup sub-system.
-
exception
pygcam.error.
XmlFormatError
¶