cpp/filesystem/filesystem error

The class std defines an exception object that is thrown on failure by the throwing overloads of the functions in the filesystem library.