nmealib 0.0.4
NMEA 0183/NMEA 2000 parsing library
Loading...
Searching...
No Matches
nmeaException.cpp
Go to the documentation of this file.
2
3namespace nmealib {
4
5NmeaException::NmeaException(const std::string& context, const std::string& message, const std::string& details)
6 : std::runtime_error(context + ": " + message + (details.empty() ? "" : " (" + details + ")")) {
7}
8
9} // namespace nmealib
NmeaException(const std::string &context, const std::string &message, const std::string &details="")
Constructs an NmeaException with context, message, and optional details.