LeviLamina
Loading...
Searching...
No Matches
ErrorInfo.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
#include "mc/platform/CallStack.h"
5
6
namespace
Bedrock {
7
8
template
<
typename
E = std::error_code>
9
struct
ErrorInfo
{
10
public
:
11
ErrorInfo
() =
default
;
12
13
[[nodiscard]]
constexpr
E&
code
() {
return
mError; }
14
[[nodiscard]]
constexpr
E
const
&
code
()
const
{
return
mError; }
15
16
E mError;
17
CallStack
mCallStack;
18
std::vector<ErrorInfo> mStackErrors;
19
};
20
21
}
// namespace Bedrock
Bedrock::CallStack
Definition
CallStack.h:11
Bedrock::ErrorInfo
Definition
ErrorInfo.h:9
code
Definition
code.h:5
src
mc
platform
ErrorInfo.h
Generated on Sat Apr 26 2025 05:55:49 for LeviLamina by
1.12.0