| 86 | { return _code; } |
| 87 | |
| 88 | std::string str() const{ |
| 89 | auto res = _component+":"; |
| 90 | if(_has_error_code) |
| 91 | res += std::to_string(_code); |
| 92 | else |
| 93 | res += "<unspecified>"; |
| 94 | return res; |
| 95 | } |
| 96 | |
| 97 | private: |
| 98 | std::string _component; |
no test coverage detected