mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 11:43:20 +00:00
refactor(il2cpp): report format failures through ParseFailure (#10701)
This commit is contained in:
1 parent
cd5ea9a9fb
commit
3a29b6b8ea
12 files changed
+150
-42
No files matched your search
@@ -106,6 +106,7 @@ const createTypeRenderer = (
|
||||
throw new Il2cppBinaryFormatFailure(
|
||||
"native-type-text-capacity",
|
||||
`rendered type text workspace exceeds ${TYPE_TEXT_BYTES} UTF-8 bytes`,
|
||||
TYPE_TEXT_BYTES,
|
||||
);
|
||||
beforeText?.(bytes);
|
||||
};
|
||||
@@ -131,6 +132,7 @@ const createTypeRenderer = (
|
||||
throw new Il2cppBinaryFormatFailure(
|
||||
"type-nesting-capacity",
|
||||
`type rendering exceeds ${TYPE_DEPTH} nested frames`,
|
||||
TYPE_DEPTH,
|
||||
);
|
||||
active.add(address);
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user