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
20class ScriptSentrySession {
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
74 // NOLINTEND
75
76public:
77 // prevent constructor by default
78 ScriptSentrySession& operator=(ScriptSentrySession const&);
79 ScriptSentrySession(ScriptSentrySession const&);
80 ScriptSentrySession();
81
82public:
83 // member functions
84 // NOLINTBEGIN
86 ::std::unique_ptr<::ScriptModuleDiagnostics::IScriptSentryRequestSender> requestSender,
88 );
89
90 MCNAPI bool _checkRateLimits();
91
92 MCNAPI void _fillError(
94 ::Scripting::BaseError const& error,
95 ::SentryEnvelopePayloadExceptionMechanism const& exceptionMechanism
96 );
97
98 MCNAPI void _sendEvent(::SentryEnvelopePayload eventPayload);
99
100 MCNAPI void
101 addBreadcrumb(::SentryBreadcrumbLevel level, ::std::string message, ::std::optional<::std::string> category);
102
104 ::Scripting::BaseError const& error,
105 ::std::optional<::ScriptModuleDiagnostics::ScriptSentryCaptureContext> context
106 );
107
109 // NOLINTEND
110
111public:
112 // constructor thunks
113 // NOLINTBEGIN
114 MCNAPI void* $ctor(
115 ::std::unique_ptr<::ScriptModuleDiagnostics::IScriptSentryRequestSender> requestSender,
117 );
118 // NOLINTEND
119
120public:
121 // destructor thunk
122 // NOLINTBEGIN
123 MCNAPI void $dtor();
124 // NOLINTEND
125};
126
127} // namespace ScriptModuleDiagnostics
Definition IScriptSentryRequestSender.h:12
MCAPI void _sendEvent(::SentryEnvelopePayload eventPayload)
MCAPI void onManuallyCapturedException(::Scripting::BaseError const &error, ::std::optional<::ScriptModuleDiagnostics::ScriptSentryCaptureContext > context)
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 ScriptSentryCaptureContext.h:12
Definition ScriptSentrySessionParameters.h:7
Definition BaseError.h:12
Definition SentryEnvelopePayloadExceptionMechanism.h:10
Definition SentryEnvelopePayload.h:10
Definition context.h:5
Definition Alias.h:14