Functions
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.

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