Skip to content

Commit a30d207

Browse files
committed
Change constructor param to be more descriptive
1 parent 57b0937 commit a30d207

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ystdlib/error_handling/TraceableException.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ class TraceableException : public std::exception {
3838

3939
explicit TraceableException(
4040
std::error_code error_code,
41-
std::string what,
41+
std::string message,
4242
std::source_location const& where = std::source_location::current()
4343
)
4444
: m_error_code{error_code},
45-
m_what{std::move(what)},
45+
m_what{std::move(message)},
4646
m_where{where} {}
4747

4848
// Methods implementing std::exception

0 commit comments

Comments
 (0)