Closed
Description
This issue suggests to modify the errors::make
and the errors::format
functions to be friend functions of the Error
class. By implementing this, the Errors(const std::shared_ptr<const std::string>&
constructor no longer required to be exposed to public, allowing the errors::make
to be the only function responsible for creating an error object with the given message.