diff options
| -rw-r--r-- | common/error.cpp | 2 | ||||
| -rw-r--r-- | common/error.h | 4 | 
2 files changed, 3 insertions, 3 deletions
diff --git a/common/error.cpp b/common/error.cpp index 68702d40a0..eac8ba1ed1 100644 --- a/common/error.cpp +++ b/common/error.cpp @@ -84,7 +84,7 @@ Error::Error(ErrorCode code)  }  Error::Error(ErrorCode code, const String &desc) -	: _code(code), _desc(errorToString(code) + ": " + desc) { +	: _code(code), _desc(errorToString(code) + " (" + desc + ")") {  } diff --git a/common/error.h b/common/error.h index 86d891b48b..dcbe670bfc 100644 --- a/common/error.h +++ b/common/error.h @@ -93,8 +93,8 @@ public:  	/**  	 * Construct a new Error with the specified error code and an augmented -	 * error message. Specifically, the provided extra text is appended -	 * to the default message, with ": " inserted in between. +	 * error message. Specifically, the provided extra text is suitably +	 * appended to the default message.  	 */  	Error(ErrorCode code, const String &extra);  | 
