Expand description
classify (docs/plans/batch.md 2.7) as far as the cutter meets it:
every error a read, a dereference, a resource read, a charge or a decode
returns, to an object’s skip, the input’s failure or a run failure, with
the reason and detail docs/BATCH_SPEC.md 7.3 and 9.3 name.
The site rule for an Error::Entry inside a dereference or a resource
read (the fourth carried question): it is the reading object’s skip, with
the innermost error’s code; only selection’s open of the input’s own
top-level rows, or the reach of its containers at registration, makes an
entry’s failure the input’s entry_error (entry_error; batch.md
2.7). A string from the bytes is under 7.3’s text rule (text).
Structs§
- Reason
- A reason of 9.3 and its 7.3 detail, each string taken from the bytes
already under 7.3’s text rule (
text), and whether one was cut (the row’scut).
Enums§
- Class
- Where a failure lands (2.7’s classes).
Constants§
- CUT
- The longest detail or reason argument, in bytes (7.3’s cut).
Functions§
- budget
- A budget’s refusal: the input’s own is an object’s skip; a dependency’s
fails the input (2.6 step 7); a provider’s, which no input owns, is the
allocator’s (
host_memory). - charge
- A refused charge.
- decode
- A texture decode’s failure (2.7’s decode row; section 3’s answers).
- deref
- A dereference’s failure, by
DerefError(2.7). - entry_
error - Selection’s open of a top-level row of the input that fails: the input’s
entry_error, its detail the code, a space and the row’s path, the whole cut toCUTbytes, written by the text rule from the three parts in place, so the path is never copied whole (review round 3’s P2); a class other than a code (a budget, a stop) stays what it is, the input’s or the run’s. - error
- The code of an error the bytes decide (7.3), through its wrappers.
- known_
texture_ format - Whether a prepared unsupported-format argument is a pinned format name.
- limit
- A limit:
limit(<kind>, <configured value>), an object’s skip whether its kind is the budget class’s or data (2.7: both at the same sites). - limit_
kind - A limit kind’s name in
limit(<kind>, ..)(9.3’s table). - outside_
view outside_view(<name>), the name as given (a resource’spathas read).- outside_
view_ cab outside_view(<cab>)for a pointer’s external that no file of the view holds: the CAB, what follows its path’s last/(9.3; UnityPy’sPPtrsplits on/alone, so a\stays in the name).- parse
- A typetree read’s failure.
- render
- A Sprite’s render failure (E17; 7.3’s codes for a Sprite): Pillow’s
refusals of a crop or an image as an atlas crop’s are named
(
decompression_bomb,crop_overflowfor a box edge outside a Cintorlong,pillow_memory_errorfor an image wider than Pillow makes), a field of another shape isread(4.4 step 2’s rule), a sheet of a mode the renderer is not verified onunsupported(as a mesh part left to a later phase is), a canvas past the renderer’s bound islimit(texture_pixels, ..)as a texture’s is, a refused charge or work count is its own class, and a panicdecoder_panic; every other exception UnityPy 1.25.2’sSpriteHelperraises isrender. - resource
- A resource read’s failure from the Environment’s fallback: a resource no
candidate finds is
outside_view(<path>), its path as read (E65). - text
- 7.3’s text rule:
bytescut to their firstCUTbytes at a code point boundary, an invalid byte counting as one code point, then each invalid byte replaced by U+FFFD; and whether it was cut. The string is allocated once, at the lengthtext_lenmeasures. - text_
len - The bytes the text rule’s string of
partstakes (an invalid byte’s U+FFFD three of them, so at most 3 xCUT), and whether it cuts: measured, never made. - tree
- A tree’s failure: rows that make no tree are
tree(the first carried question: 7.3 lists the code, and the core’sTreeErroris it). - try_
text textofpartsread as one string, as [walk] reads them, into a string reserved fallibly at exactlytext_len’s length.- with_
argument name(<argument>), the argument from the bytes undertext.