diff --git a/src/exceptions.cpp b/src/exceptions.cpp index 1a2587e..7cf25aa 100644 --- a/src/exceptions.cpp +++ b/src/exceptions.cpp @@ -18,10 +18,12 @@ #include -using namespace mastorss; using std::to_string; using std::move; +namespace mastorss +{ + HTTPException::HTTPException(const int error) : error_code{static_cast(error)} {} @@ -61,3 +63,4 @@ const char *FileException::what() const noexcept { return _message.c_str(); } +} // namespace mastorss