aboutsummaryrefslogtreecommitdiff
path: root/src/common/ErrnoException.cpp
blob: df2349acdcc337a930c4a1c161600e4afc0543f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "cru/common/ErrnoException.hpp"

#include <errno.h>

namespace cru {
ErrnoException::ErrnoException(const String& message)
    : ErrnoException(message, errno) {}

ErrnoException::ErrnoException(const String& message, int errno_code)
    : Exception(message), errno_code_(errno_code) {}
}  // namespace cru