Quantum 3xplorer (Q3)
Loading...
Searching...
No Matches
errors.hpp
Go to the documentation of this file.
1
#pragma once
2
3
/**
4
* Pseudopotential-related error types.
5
*/
6
7
#include <stdexcept>
8
9
namespace
q3
{
10
11
/**
12
* Thrown when an input requests a pseudopotential type that is recognized
13
* but not implemented (e.g. PAW). Distinct from std::runtime_error so that
14
* callers and tests can tell "unsupported type" apart from a malformed file.
15
*/
16
class
UnsupportedPseudopotentialTypeError
:
public
std::runtime_error {
17
public
:
18
using
std::runtime_error::runtime_error;
19
};
20
21
}
// namespace q3
q3::UnsupportedPseudopotentialTypeError
Definition
errors.hpp:16
q3
Definition
q3_core_api.hpp:33
src
layer_3_representation
pseudopotential
errors.hpp
Generated by
1.9.8