implement Not Implemented exception in C++ [golf claps]
fix syntax error
derp in error handling for fd