|
tempoch-cpp 0.5.3
Header-only C++ wrapper for tempoch
|
Error handling for the tempoch C++ wrapper. More...
#include <stdexcept>#include <string>#include "tempoch_ffi.h"

Go to the source code of this file.
Classes | |
| class | tempoch::TempochException |
| Base exception for all tempoch errors. More... | |
| class | tempoch::NullPointerError |
| A required output pointer was null. More... | |
| class | tempoch::UtcConversionError |
| UTC conversion failed (date out of range or invalid). More... | |
| class | tempoch::InvalidPeriodError |
| The period is invalid (start > end). More... | |
| class | tempoch::NoIntersectionError |
| The two periods do not intersect. More... | |
| class | tempoch::InvalidScaleIdError |
| The supplied raw scale identifier is invalid. More... | |
| class | tempoch::InvalidDurationUnitError |
| The supplied quantity does not represent a time duration. More... | |
| class | tempoch::ConversionFailedError |
| A generic scale/format conversion failed. More... | |
| class | tempoch::InvalidFormatIdError |
| The supplied raw format identifier is invalid. More... | |
| class | tempoch::InternalPanicError |
| Rust caught a panic before unwinding across the FFI boundary. More... | |
| class | tempoch::Ut1HorizonExceededError |
| A UT1 conversion requested data beyond the compiled ΔT/EOP horizon. More... | |
| class | tempoch::PeriodListUnsortedError |
| The period list is not sorted by start time. More... | |
| class | tempoch::PeriodListOverlappingError |
| The period list contains overlapping intervals. More... | |
Namespaces | |
| namespace | tempoch |
Functions | |
| void | tempoch::check_status (tempoch_status_t status, const char *operation) |
| Check a tempoch_status_t and throw the appropriate exception on error. | |
Error handling for the tempoch C++ wrapper.
Maps C-style status codes from tempoch-ffi to a typed C++ exception hierarchy, and provides a check_status helper.
Definition in file ffi_core.hpp.