Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1"""
2Exceptions for the general error types that can occur either while
3setting up the calculator, which requires constructing KIM API C++
4objects, or while running a simulation
5"""
6from ase.calculators.calculator import CalculatorError
9class KIMCalculatorError(CalculatorError):
10 """
11 Indicates an error occurred in initializing an applicable
12 calculator. This either results from incompatible combinations of
13 argument values passed to kim.KIM(), or from models that are
14 incompatible in some way with this calculator
15 """
17 pass
20class KIMModelNotFound(CalculatorError):
21 """
22 Requested model cannot be found in any of the KIM API model
23 collections on the system
24 """
26 pass
29class KIMModelInitializationError(CalculatorError):
30 """
31 KIM API Model object or ComputeArguments object could not be
32 successfully created
33 """
35 pass
38class KimpyError(CalculatorError):
39 """
40 A call to a kimpy function resulted in a RuntimeError being raised
41 """
43 pass