aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/exception/attributes.h
blob: f60d733880d01880d33ea3908b0a98d5a4bce4c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once

#include <library/cpp/yt/misc/guid.h>

#include <util/generic/string.h>

#include <variant>

namespace NYT {

////////////////////////////////////////////////////////////////////////////////

struct TExceptionAttribute
{
    using TKey = TString;
    using TValue = std::variant<i64, double, bool, TString>;

    TKey Key;
    TValue Value;
};

////////////////////////////////////////////////////////////////////////////////

} // namespace NYT