diff options
Diffstat (limited to 'src/common/ErrnoException.cpp')
-rw-r--r-- | src/common/ErrnoException.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/common/ErrnoException.cpp b/src/common/ErrnoException.cpp deleted file mode 100644 index 731ae3e5..00000000 --- a/src/common/ErrnoException.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "cru/common/ErrnoException.hpp" - -#include "cru/common/Format.hpp" - -#include <errno.h> - -namespace cru { -ErrnoException::ErrnoException(const String& message) - : ErrnoException(message, errno) {} - -ErrnoException::ErrnoException(const String& message, int errno_code) - : Exception(Format(u"{}. Errno is {}.", message, errno_code)), - errno_code_(errno_code) {} -} // namespace cru |