diff options
author | crupest <crupest@outlook.com> | 2022-01-15 22:41:11 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-15 22:41:11 +0800 |
commit | 570e95f4551385a81eb2cf6f2e386e3b0cb291a8 (patch) | |
tree | 8ed08ab29f49b260ac66e88a75aa436c4daefb57 /src/common/ErrnoException.cpp | |
parent | abb9d48a72e2d580d6bfbfcb600795c5ec66e204 (diff) | |
download | cru-570e95f4551385a81eb2cf6f2e386e3b0cb291a8.tar.gz cru-570e95f4551385a81eb2cf6f2e386e3b0cb291a8.tar.bz2 cru-570e95f4551385a81eb2cf6f2e386e3b0cb291a8.zip |
...
Diffstat (limited to 'src/common/ErrnoException.cpp')
-rw-r--r-- | src/common/ErrnoException.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/ErrnoException.cpp b/src/common/ErrnoException.cpp index df2349ac..15d298b3 100644 --- a/src/common/ErrnoException.cpp +++ b/src/common/ErrnoException.cpp @@ -7,5 +7,6 @@ ErrnoException::ErrnoException(const String& message) : ErrnoException(message, errno) {} ErrnoException::ErrnoException(const String& message, int errno_code) - : Exception(message), errno_code_(errno_code) {} + : Exception(Format(u"{}. Errno is {}.", message, errno_code)), + errno_code_(errno_code) {} } // namespace cru |