Closed
Description
This issue recommends to return the Error::message
method as a std::string_view
instead of as a std::string
. Returning as a std::string_view
prevents the Error::message
from allocating another memory to store the string, this change especially is useful if an error contains a large message.