diff options
Diffstat (limited to 'src/common/platform/unix/ErrnoException.cpp')
-rw-r--r-- | src/common/platform/unix/ErrnoException.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/common/platform/unix/ErrnoException.cpp b/src/common/platform/unix/ErrnoException.cpp index f2171943..06c42ff6 100644 --- a/src/common/platform/unix/ErrnoException.cpp +++ b/src/common/platform/unix/ErrnoException.cpp @@ -1,14 +1,5 @@ #include "cru/common/platform/unix/ErrnoException.h" -#include "cru/common/Format.h" - -#include <errno.h> - namespace cru::platform::unix { -ErrnoException::ErrnoException(const String& message) - : ErrnoException(message, errno) {} - -ErrnoException::ErrnoException(const String& message, int errno_code) - : PlatformException(Format(u"{}. Errno is {}.", message, errno_code)), - errno_code_(errno_code) {} +// Moved to Exception.cpp } // namespace cru::platform::unix |