summaryrefslogtreecommitdiffstats
path: root/errors_map.mako.hpp
blob: b04f00ed2478822022ff8d43d63e104882e32c21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
## This file is a template.  The comment below is emitted
## into the rendered file; feel free to edit this file.
// !!! WARNING: This is a GENERATED Code..Please do NOT Edit !!!
#include <map>
using EType = std::string;
using Error = std::string;
using ErrorList = std::vector<Error>;
using ErrorMap = std::map<EType, std::vector<Error>>;

const ErrorMap errorMap = {
% for key, errors in errDict.items():
    {"${key}", {
    % for error in errors:
        "${error}",
    % endfor
    }},
% endfor
};
OpenPOWER on IntegriCloud