1#ifndef RIVET_EXCEPTIONS_HH
2#define RIVET_EXCEPTIONS_HH
12 struct Error :
public std::runtime_error {
13 Error(
const std::string& what) : std::runtime_error(what) {}
22 struct RangeError :
public Error {
23 RangeError(
const std::string& what) : Error(what) {}
28 struct LogicError :
public Error {
29 LogicError(
const std::string& what) : Error(what) {}
34 struct PidError :
public Error {
35 PidError(
const std::string& what) : Error(what) {}
40 struct InfoError :
public Error {
41 InfoError(
const std::string& what) : Error(what) {}
46 struct BeamError :
public Error {
47 BeamError(
const std::string& what) : Error(what) {}
52 struct SmearError :
public Error {
53 SmearError(
const std::string& what) : Error(what) {}
61 struct WeightError :
public Error {
62 WeightError(
const std::string& what) : Error(what) {}
67 struct UserError :
public Error {
68 UserError(
const std::string& what) : Error(what) {}
73 struct LookupError :
public Error {
74 LookupError(
const std::string& what) : Error(what) {}
79 struct DataError :
public Error {
80 DataError(
const std::string& what) : Error(what) {}
85 struct IOError :
public Error {
86 IOError(
const std::string& what) : Error(what) {}
90 struct ReadError :
public IOError {
91 ReadError(
const std::string& what) : IOError(what) {}
95 struct WriteError :
public IOError {
96 WriteError(
const std::string& what) : IOError(what) {}
Definition MC_CENT_PPB_Projections.hh:10
Error Exception
Rivet::Exception is a synonym for Rivet::Error.
Definition Exceptions.hh:18
Generic runtime Rivet error.
Definition Exceptions.hh:12