| 19 | namespace af { |
| 20 | |
| 21 | exception::exception() : m_msg{}, m_err(AF_ERR_UNKNOWN) { |
| 22 | strncpy(m_msg, "unknown exception", sizeof(m_msg)); |
| 23 | } |
| 24 | |
| 25 | exception::exception(const char *msg) : m_msg{}, m_err(AF_ERR_UNKNOWN) { |
| 26 | strncpy(m_msg, msg, sizeof(m_msg) - 1); |
nothing calls this directly
no test coverage detected