|
nmealib 0.0.4
NMEA 0183/NMEA 2000 parsing library
|
Base exception class for all NMEA library errors. More...
#include <nmeaException.h>


Public Member Functions | |
| NmeaException (const std::string &context, const std::string &message, const std::string &details="") | |
| Constructs an NmeaException with context, message, and optional details. | |
Base exception class for all NMEA library errors.
Derived from std::runtime_error. All NMEA-specific exceptions inherit from this class, allowing callers to catch either the base type or a more specific subtype.
Definition at line 15 of file nmeaException.h.
|
explicit |
Constructs an NmeaException with context, message, and optional details.
| context | A string identifying where the error occurred (e.g., function name). |
| message | A human-readable description of the error. |
| details | Optional extra information appended in parentheses. |
Definition at line 5 of file nmeaException.cpp.