LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
mf::detail Namespace Reference

Functions

std::string translate (errors::error)
 

Function Documentation

std::string mf::detail::translate ( errors::error  code)

Definition at line 4 of file exception.cc.

References mf::errors::Configuration, mf::errors::LogicError, and mf::errors::OtherError.

5 {
6  switch (code) {
8  return "Configuration error";
10  return "Logic error";
12  return "Other error";
13  default:
14  return "Unknown code";
15  }
16 }