libcosmos
Linux C++ System Programming Library
Loading...
Searching...
No Matches
FileError.cxx
1
// cosmos
2
#include <cosmos/error/FileError.hxx>
3
4
namespace
cosmos {
5
6
FileError::FileError(
const
SysString path,
const
std::string_view operation) :
7
ApiError({}),
8
m_path{path}, m_operation{operation} {
9
setErrorClass(
"FileError"
);
10
}
11
12
void
FileError::generateMsg()
const
{
13
m_msg += m_path +
": "
+ m_operation +
": "
;
14
ApiError::generateMsg();
15
}
16
17
}
// end ns
src
error
FileError.cxx
Generated by
1.12.0