LeviLamina
Loading...
Searching...
No Matches
ScriptSentrySession.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/debug/SentryBreadcrumbLevel.h"
7
8// auto generated forward declare list
9// clang-format off
12namespace ScriptModuleDiagnostics { class IScriptSentryRequestSender; }
13namespace ScriptModuleDiagnostics { struct ScriptSentryCaptureContext; }
14namespace ScriptModuleDiagnostics { struct ScriptSentrySessionParameters; }
15namespace Scripting { struct BaseError; }
16// clang-format on
17
18namespace ScriptModuleDiagnostics {
19
21public:
22 // ScriptSentrySession inner types declare
23 // clang-format off
24 struct Breadcrumb;
25 // clang-format on
26
27 // ScriptSentrySession inner types define
28 struct Breadcrumb {
29 public:
30 // member variables
31 // NOLINTBEGIN
36 // NOLINTEND
37
38 public:
39 // prevent constructor by default
40 Breadcrumb& operator=(Breadcrumb const&);
41 Breadcrumb(Breadcrumb const&);
42 Breadcrumb();
43
44 public:
45 // member functions
46 // NOLINTBEGIN
47 MCNAPI ~Breadcrumb();
48 // NOLINTEND
49
50 public:
51 // destructor thunk
52 // NOLINTBEGIN
53 MCNAPI void $dtor();
54 // NOLINTEND
55 };
56
57public:
58 // member variables
59 // NOLINTBEGIN
70 // NOLINTEND
71
72public:
73 // prevent constructor by default
77
78public:
79 // member functions
80 // NOLINTBEGIN
82 ::std::unique_ptr<::ScriptModuleDiagnostics::IScriptSentryRequestSender> requestSender,
84 );
85
86 MCNAPI void _fillError(
88 ::Scripting::BaseError const& error,
89 ::SentryEnvelopePayloadExceptionMechanism const& exceptionMechanism
90 );
91
92 MCNAPI void _sendEvent(::SentryEnvelopePayload eventPayload) const;
93
94 MCNAPI void
95 addBreadcrumb(::SentryBreadcrumbLevel level, ::std::string message, ::std::optional<::std::string> category);
96
98 ::Scripting::BaseError const& error,
99 ::std::optional<::ScriptModuleDiagnostics::ScriptSentryCaptureContext> context
100 );
101
103 // NOLINTEND
104
105public:
106 // constructor thunks
107 // NOLINTBEGIN
108 MCNAPI void* $ctor(
109 ::std::unique_ptr<::ScriptModuleDiagnostics::IScriptSentryRequestSender> requestSender,
111 );
112 // NOLINTEND
113
114public:
115 // destructor thunk
116 // NOLINTBEGIN
117 MCNAPI void $dtor();
118 // NOLINTEND
119};
120
121} // namespace ScriptModuleDiagnostics
Definition ScriptSentrySession.h:20
MCAPI void onManuallyCapturedException(::Scripting::BaseError const &error, ::std::optional<::ScriptModuleDiagnostics::ScriptSentryCaptureContext > context)
MCAPI void _sendEvent(::SentryEnvelopePayload eventPayload) const
MCAPI void * $ctor(::std::unique_ptr<::ScriptModuleDiagnostics::IScriptSentryRequestSender > requestSender, ::ScriptModuleDiagnostics::ScriptSentrySessionParameters parameters)
MCAPI ScriptSentrySession(::std::unique_ptr<::ScriptModuleDiagnostics::IScriptSentryRequestSender > requestSender, ::ScriptModuleDiagnostics::ScriptSentrySessionParameters parameters)
MCAPI void addBreadcrumb(::SentryBreadcrumbLevel level, ::std::string message, ::std::optional<::std::string > category)
MCAPI void _fillError(::SentryEnvelopePayload &result, ::Scripting::BaseError const &error, ::SentryEnvelopePayloadExceptionMechanism const &exceptionMechanism)
Definition ScriptSentrySessionParameters.h:7
Definition BaseError.h:12
Definition SentryEnvelopePayloadExceptionMechanism.h:5
Definition SentryEnvelopePayload.h:10
Definition context.h:5
Definition Alias.h:14