blob: 153a86f14f6cdeaf46a21f30734da8a08ecadff3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "exceptions.h"
namespace ns_log {
BadLogLineException::BadLogLineException(std::string message)
: _message(std::move(message))
{
}
BadLogLineException::~BadLogLineException() = default;
const char*
BadLogLineException::what() const noexcept
{
return _message.c_str();
}
}
|