16  const std::string type;
 
   17  const std::string message;
 
   21  explicit InjaError(
const std::string& type, 
const std::string& message)
 
   22      : std::runtime_error(
"[inja.exception." + type + 
"] " + message), type(type), message(message), location({0, 0}) {}
 
   25      : std::runtime_error(
"[inja.exception." + type + 
"] (at " + std::to_string(location.line) + 
":" + std::to_string(location.column) + 
") " + message),
 
   26        type(type), message(message), location(location) {}