LeviLamina
Loading...
Searching...
No Matches
ScriptSentrySession.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
9namespace Scripting { struct BaseError; }
10// clang-format on
11
12namespace ScriptModuleDiagnostics {
13
14class ScriptSentrySession {
15public:
16 // ScriptSentrySession inner types declare
17 // clang-format off
18 struct Breadcrumb;
19 // clang-format on
20
21 // ScriptSentrySession inner types define
22 struct Breadcrumb {
23 public:
24 // member variables
25 // NOLINTBEGIN
30 // NOLINTEND
31
32 public:
33 // prevent constructor by default
34 Breadcrumb& operator=(Breadcrumb const&);
35 Breadcrumb(Breadcrumb const&);
36 Breadcrumb();
37 };
38
39public:
40 // member variables
41 // NOLINTBEGIN
55 // NOLINTEND
56
57public:
58 // prevent constructor by default
59 ScriptSentrySession& operator=(ScriptSentrySession const&);
60 ScriptSentrySession(ScriptSentrySession const&);
61 ScriptSentrySession();
62
63public:
64 // member functions
65 // NOLINTBEGIN
66 MCNAPI bool _checkRateLimits();
67
68 MCNAPI void _fillError(
70 ::Scripting::BaseError const& error,
71 ::SentryEnvelopePayloadExceptionMechanism const& exceptionMechanism
72 );
73
74 MCNAPI void _sendEvent(::SentryEnvelopePayload eventPayload);
75
76 MCNAPI void onException(::Scripting::BaseError const& error);
77
79 // NOLINTEND
80};
81
82} // namespace ScriptModuleDiagnostics
MCAPI void _sendEvent(::SentryEnvelopePayload eventPayload)
MCAPI void onException(::Scripting::BaseError const &error)
MCAPI void onUnhandledPromiseRejection(::Scripting::BaseError const &error)
MCAPI void _fillError(::SentryEnvelopePayload &result, ::Scripting::BaseError const &error, ::SentryEnvelopePayloadExceptionMechanism const &exceptionMechanism)
Definition BaseError.h:7
Definition SentryEnvelopePayloadExceptionMechanism.h:10
Definition SentryEnvelopePayload.h:10
Definition Alias.h:14