apfs::Error

class Error : public std::exception

The exception that is thrown for all errors.

In the future, it’d probably be better to add an exception type to this… or maybe even different classes?

Public Functions

inline Error(std::string msg)

Constructor using an std::string

inline const char *what() const noexcept override

The standard what() method on exceptions.