Added errors include to the main library header