Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptSentryLogger.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/script_core/runtime/scripting/IPrinter.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace ScriptModuleDiagnostics { class ScriptSentrySession; }
11namespace Scripting { struct BaseError; }
12namespace Scripting { struct ContextId; }
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ScriptModuleDiagnostics::ScriptSentrySession>> mSentrySession;
20 // NOLINTEND
21
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual ~ScriptSentryLogger() /*override*/ = default;
26
27 virtual void onException(::Scripting::ContextId, ::Scripting::BaseError const& error, ::entt::meta_any const&) const
28 /*override*/;
29
30 virtual void onPromiseRejection(
32 ::Scripting::BaseError const& error,
33 ::entt::meta_any const&,
34 bool isHandled
35 ) const /*override*/;
36 // NOLINTEND
37
38public:
39 // virtual function thunks
40 // NOLINTBEGIN
41 MCNAPI void
42 $onException(::Scripting::ContextId, ::Scripting::BaseError const& error, ::entt::meta_any const&) const;
43
46 ::Scripting::BaseError const& error,
47 ::entt::meta_any const&,
48 bool isHandled
49 ) const;
50
51
52 // NOLINTEND
53
54public:
55 // vftables
56 // NOLINTBEGIN
57 MCNAPI static void** $vftable();
58 // NOLINTEND
59};
Definition ScriptSentrySession.h:14
Definition ScriptSentryLogger.h:15
MCAPI void $onPromiseRejection(::Scripting::ContextId, ::Scripting::BaseError const &error, ::entt::meta_any const &, bool isHandled) const
static MCAPI void ** $vftable()
MCAPI void $onException(::Scripting::ContextId, ::Scripting::BaseError const &error, ::entt::meta_any const &) const
Definition IPrinter.h:13
Definition BaseError.h:7
Definition ContextId.h:7