Source code for gillespy2.core.gillespyError
# GillesPy2 is a modeling toolkit for biochemical simulation.
# Copyright (C) 2019-2024 GillesPy2 developers.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Model exceptions
[docs]class ModelError(Exception):
pass
[docs]class SpeciesError(ModelError):
pass
[docs]class ParameterError(ModelError):
pass
[docs]class ReactionError(ModelError):
pass
[docs]class RateRuleError(ModelError):
pass
[docs]class AssignmentRuleError(ModelError):
pass
[docs]class EventError(ModelError):
pass
[docs]class FunctionDefinitionError(ModelError):
pass
[docs]class TimespanError(ModelError):
pass
# Solver specific errors
[docs]class SolverError(Exception):
pass
[docs]class DirectoryError(SolverError):
pass
[docs]class BuildError(SolverError):
pass
[docs]class ExecutionError(SolverError):
pass
[docs]class SimulationError(Exception):
pass
[docs]class StochMLImportError(SimulationError):
pass
[docs]class InvalidStochMLError(SimulationError):
pass
[docs]class InvalidModelError(SimulationError):
pass
[docs]class SimulationTimeoutError(SimulationError):
pass
# Results errors
[docs]class ResultsError(Exception):
pass
[docs]class ValidationError(ResultsError):
pass
[docs]class SBMLError(Exception):
pass