exception.cc
Go to the documentation of this file.
2 
5 {
6  switch (code) {
8  return "Configuration error";
10  return "Logic error";
12  return "Other error";
13  default:
14  return "Unknown code";
15  }
16 }
17 
18 // ======================================================================
19 
20 /// Local Variables:
21 /// mode: C++
22 /// c-basic-offset: 2
23 /// indent-tabs-mode: nil
24 /// End:
std::string string
Definition: nybbler.cc:12
CodeOutputInterface * code
std::string translate(errors::error)
Definition: exception.cc:4