mirror of
https://github.com/morluto/rea.git
synced 2026-11-19 05:02:40 +00:00
feat(errors): carry the value of Go, Rust, IL2CPP, sigrok, Electron fuse, CDP, projection and assetutil allowances (#11645)
Each of these fixed allowances now passes limit and unit, traced to the constant or parse refusal that produced it. The Electron fuse, CDP runtime retention and assetutil names no longer embed the value.
This commit is contained in:
1 parent
836ac2fea6
commit
680c83f88c
14 files changed
+123
-42
No files matched your search
@@ -100,6 +100,10 @@ const failureForPrimary = (
|
||||
...fixedAllowanceOptions(
|
||||
"The IL2CPP native-link allowance",
|
||||
cause.reason === "native-type-text-capacity" ? "parser" : "count",
|
||||
{
|
||||
limit: cause.failure.limit.maximum,
|
||||
...(cause.unit === undefined ? {} : { unit: cause.unit }),
|
||||
},
|
||||
),
|
||||
},
|
||||
);
|
||||
@@ -143,7 +147,14 @@ const failureForPrimary = (
|
||||
{ maximum_input_bytes: maximum },
|
||||
{
|
||||
cause,
|
||||
...fixedAllowanceOptions("the fixed IL2CPP input allowance", "input"),
|
||||
...fixedAllowanceOptions(
|
||||
"the fixed IL2CPP input allowance",
|
||||
"input",
|
||||
{
|
||||
limit: maximum,
|
||||
unit: "bytes",
|
||||
},
|
||||
),
|
||||
},
|
||||
);
|
||||
if (cause.reason === "path")
|
||||
|
||||
Reference in new issue
Block a user