mirror of
https://github.com/morluto/rea.git
synced 2026-11-29 18:06:46 +00:00
feat(errors)!: add the TargetFailure model, its projection table and conformance registry (#14247)
This commit is contained in:
1 parent
fab4e1ae00
commit
40e9a3f1a1
113 files changed
+1639
-583
No files matched your search
@@ -8,7 +8,7 @@ import {
|
||||
} from "../../../src/il2cpp/Il2cppBinaryImage.js";
|
||||
import {
|
||||
AnalysisInputError,
|
||||
AnalysisMalformedTargetError,
|
||||
AnalysisTargetFailureError,
|
||||
} from "../../../src/domain/analysisErrorCore.js";
|
||||
import type { Il2cppBinaryArchitecture } from "../../../src/domain/il2cpp/il2cppMetadata.js";
|
||||
import { describe, expect, it } from "vitest";
|
||||
@@ -145,7 +145,7 @@ const containerFailure = (
|
||||
try {
|
||||
link(bytes, architecture);
|
||||
} catch (cause) {
|
||||
if (cause instanceof AnalysisMalformedTargetError)
|
||||
if (cause instanceof AnalysisTargetFailureError)
|
||||
return { path: cause.path, ...cause.failure };
|
||||
throw cause;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user