blob: 6b3ff306c86222565da67494a4758e8739d84892 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <exception>
#include <string>
namespace ns_log {
/*
* Exception thrown when parsing a log line into a LogMessage fails.
*/
class BadLogLineException : public std::exception
{
std::string _message;
public:
BadLogLineException(std::string message);
~BadLogLineException() override;
const char *what() const noexcept override;
};
}
|