The new class Direction will be used to represent the direction of a calibration request. Update posexcept.hh to add new exception bad_direction, used in class Direction.