LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
exception.cc
Go to the documentation of this file.
1
#include "
messagefacility/Utilities/exception.h
"
2
3
std::string
4
mf::detail::translate
(
mf::errors::error
code)
5
{
6
switch
(code) {
7
case
mf::errors::Configuration
:
8
return
"Configuration error"
;
9
case
mf::errors::LogicError
:
10
return
"Logic error"
;
11
case
mf::errors::OtherError
:
12
return
"Other error"
;
13
default
:
14
return
"Unknown code"
;
15
}
16
}
17
18
// ======================================================================
19
mf::errors::LogicError
Definition:
exception.h:10
mf::errors::Configuration
Definition:
exception.h:10
exception.h
mf::errors::OtherError
Definition:
exception.h:10
mf::detail::translate
std::string translate(errors::error)
Definition:
exception.cc:4
mf::errors::error
error
Definition:
exception.h:10
messagefacility
Utilities
exception.cc
Generated on Thu May 2 2024 20:59:52 for LArSoft by
1.8.11