All header names in the exceptions module now follow the same naming scheme.
30 lines
743 B
C++
30 lines
743 B
C++
#pragma once
|
|
|
|
#include "gridfire/exceptions/error_gridfire.h"
|
|
|
|
namespace gridfire::exceptions {
|
|
class SolverError : GridFireError {
|
|
using GridFireError::GridFireError;
|
|
};
|
|
|
|
class SingularJacobianError final : public SolverError {
|
|
using SolverError::SolverError;
|
|
};
|
|
|
|
class IllConditionedJacobianError final : public SolverError {
|
|
using SolverError::SolverError;
|
|
};
|
|
|
|
class SUNDIALSError : public SolverError {
|
|
using SolverError::SolverError;
|
|
};
|
|
|
|
class CVODESolverFailureError final : public SUNDIALSError {
|
|
using SUNDIALSError::SUNDIALSError;
|
|
};
|
|
|
|
class KINSolSolverFailureError final : public SUNDIALSError {
|
|
using SUNDIALSError::SUNDIALSError;
|
|
};
|
|
|
|
} |