|
DUDS
|
Distributed Update of Data from Something
|
A conversion between units was attempted that cannot be performed. More...
#include <Unit.hpp>
A conversion between units was attempted that cannot be performed.
This is used when going between a value of units determined by a Unit, such as Quantity, and another data type. Time types, like std::chrono::duration, specify their units in the type. A conversion to a duration type from a value with a Unit must fail if the Unit is not duds::data::units::Second. The failure should throw this exception.