Skip to content

Commit ac8f06b

Browse files
committed
feat(error): make Error::message property to be constant
1 parent 2328e84 commit ac8f06b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

error/include/error/error.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace error {
1212
* @brief Represents error information.
1313
*/
1414
struct Error {
15-
std::string message; /**< The error message. */
15+
const std::string message; /**< The error message. */
1616

1717
/**
1818
* @brief Writes the string representation of an error object to the given

0 commit comments

Comments
 (0)