LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
exception.h
Go to the documentation of this file.
1
#ifndef messagefacility_Utilities_exception_h
2
#define messagefacility_Utilities_exception_h
3
4
#include "cetlib_except/coded_exception.h"
5
6
#include <string>
7
8
namespace
mf
{
9
namespace
errors {
10
enum
error
{
Configuration
= 1,
LogicError
,
OtherError
};
11
}
// error
12
13
namespace
detail {
14
std::string
translate
(
errors::error
);
15
}
16
17
using
Exception
= cet::coded_exception<errors::error, detail::translate>;
18
}
// mf
19
20
#endif
/* messagefacility_Utilities_exception_h */
21
mf::errors::LogicError
Definition:
exception.h:10
mf::errors::Configuration
Definition:
exception.h:10
mf
Definition:
MessageLogger.cc:42
mf::Exception
cet::coded_exception< errors::error, detail::translate > Exception
Definition:
exception.h:17
mf::errors::OtherError
Definition:
exception.h:10
fhicl::detail::translate
std::string translate(error)
Definition:
exception.cc:12
mf::errors::error
error
Definition:
exception.h:10
messagefacility
Utilities
exception.h
Generated on Thu May 2 2024 20:59:52 for LArSoft by
1.8.11