Diagnostics
Every coded error and warning, with what to do about it.
Coded results instead of exceptions, each with what to do about it.
Error
| Code | Meaning | What to do |
|---|---|---|
PARAM_RANGE |
A numeric parameter is outside its allowed range. | Use a value within measured.min / measured.max. |
ARG_INVALID |
A tool argument does not match the tool's input schema. | Fix the argument named in paramPath. |
CAPABILITY_UNAVAILABLE |
The action is not available in the current context. | Satisfy measured.requires first (e.g. create a node before editing one), or load the module measured.capability names (e.g. loadGeometryKernel() for kernel3d). |
BUDGET_EXCEEDED |
The call ran past its time budget and was stopped between nodes. | Raise budgetMs, or simplify the graph. |
SELECTOR_INVALID |
A selector does not follow the selector grammar. | |
SAMPLE_UV_MISSING |
source 'uv' needs a uv attribute on the mesh. | Use source 'curvature' on a mesh, or give the mesh a Point or Vertex uv with 2 or 3 components. |
ROLE_NAMESPACE_RESERVED |
Roles in the k: namespace are written only by kernel verbs, which say how an element was made. | Use your own namespace for host roles, such as fx:skin or art:stroke. |
PIPELINE_ROLE_MISSING |
A step of the pipeline needs a role that the value it takes does not hold. | Add the role earlier (roles_assign), take the value of a step that writes it, or drop the requirement; measured names the step, its param and where its value comes from. |
ROLES_LIMIT |
The geometry would hold more roles than a value may: 4096 distinct roles, 65 536 distinct role sets, 64 roles on one element. | Use fewer distinct roles, or remove roles no longer needed. |
POINTS_NOT_POINTS |
The geometry is not Points geometry: the bridge to hint carries points only. | Pass the Points geometry Samples.scatter, Samples.frames or Samples.rebind returns. |
POINTS_ATTRIBUTE |
P is not a Float64 ×3 point attribute, id is not Int32 ×1, or an attribute does not hold one tuple per point. | Repair the attribute named in the message, or drop it before the bridge. |
HINT_IPC_MAGIC |
The bytes are not a hint IPC file: they do not start with hint.ipc/1. | Pass the bytes table_write wrote with format ipc, or that points_to_hint made. |
HINT_IPC_HASH_MISMATCH |
The hint IPC file does not hash to the hash it carries: a byte changed, or the file was cut short. | Pass the file as written; fetch it again if it was moved. |
HINT_VALUE_INVALID |
The hint IPC file holds a value the bridge cannot read: it ends early, has extra bytes, or a column holds the wrong number of values. | Write the table again with table_write (format ipc). |
POINTS_SCHEMA |
The table is not a points table: x, y, z (Float64, semantic point), an optional id (Int64), then Float64 or Int64 attributes, every column not null. | Make the table with hint’s table_points before table_write. |
POINTS_RANGE |
A value does not fit the kernel attribute it becomes: an id outside Int32, an integer outside Int32 and Uint32, or more points than a geometry holds. | Keep ids and integer attributes within 32 bits, or write them as Float64. |
GEOMETRY_INPUT_INVALID |
An argument is not valid geometry for this operation (non-finite, wrong shape or out of range). | Check the argument named by paramPath against the operation’s documented parameters. |
GEOMETRY_OP_FAILED |
The kernel rejected the operation on valid input. | Read measured.kernelMessage; validate() the inputs and try the remedy the operation documents. |
Warning
| Code | Meaning | What to do |
|---|---|---|
MESH_EMPTY |
The geometry has no faces. | Check the display node and its parameters. |
MESH_OPEN |
The mesh has boundary edges (used by one face), so it is not closed. | Close the boundary; volume is not reported for an open mesh. |
MESH_NON_MANIFOLD_EDGE |
An edge is used by more than two faces. | Separate or remove the extra faces on the listed edges. |
MESH_INCONSISTENT_ORIENTATION |
Two faces sharing an edge traverse it in the same direction. | Flip the faces on one side of the listed edges. |
MESH_NON_FINITE |
Some points have a NaN or infinite coordinate. | Check the parameters feeding the listed points; faces touching them are not measured. |
MESH_ZERO_AREA_FACE |
A face has zero area: all its corners are collinear (decided exactly). | Remove the listed faces or move their points apart. |
SECTION_SELF_INTERSECTING |
The section crosses itself: parts of the mesh overlap or intersect. | The section area is not reported; the mesh checks do not test self-intersection. |
SELECTION_EMPTY |
A selector matched nothing in the geometry it was evaluated on. | Widen it (a larger within, a larger box), or check the direction; measured.nearest names the closest miss. A node that must not act on nothing fails instead. |
SELECTION_AMBIGUOUS |
A selector matched a different number of connected patches than its expect, or an element sits on a threshold. | Narrow it with and (a box, a normal) until it matches the patches you mean; measured lists the patches or the elements on the edge. |
ELEMENT_LOST |
A set of elements cannot be carried to another revision: they no longer exist, or nothing sits where they were. | |
SAMPLE_COUNT_CAPPED |
The scatter would hold more samples than maxCount, so its density was scaled down until it fits; the capped set is still returned. | Raise maxCount (up to 10^6), increase spacing, or lower count or levels; measured gives maxCount, the count and the scale (the factor the requested density was multiplied by); the samples' spacing attribute gives the spacing used. |
SAMPLE_IDS_UNSTABLE |
Some samples have minter 0: their ids are unique but may name other samples after a re-cook, so resolve does not follow them. | Pass the sample node id as scope and give the source faces persistent ids with a minter; measured.count says how many, measured.collisions how many are id collisions (accepted at about 470 per 10^6). |
SAMPLE_UV_SEAM |
The uv attribute is per vertex and differs across seams, so the frame field is averaged across them. | Expect the field to turn near the seams; use source 'curvature', or a seamless uv, where that matters. |
ROLE_UNKNOWN |
No element of the geometry holds this role, so it matched nothing. | List the roles the geometry holds with roles_inspect; a role name is <namespace>:<name>, compared byte for byte. |
PIPELINE_ROLE_MAYBE_ABSENT |
A step of the pipeline needs a role that the value it takes only may hold. | Make the role certain earlier, or expect the step to match no element. |
LINEAGE_UNKNOWN |
The host keeps no lineage for this value, so its elements trace to nothing. | Pass the VerbValue a construct verb returned (it carries its lineage), and pass its ancestors in through. |
Info
| Code | Meaning | What to do |
|---|---|---|
MESH_NOT_POLYGON |
The geometry is not a polygon mesh; mesh checks do not apply. | Mesh validity is checked on polygon geometry only. |
SECTION_EMPTY |
The section plane does not cut the geometry. | Choose an offset within the bounding box (measured.range). |
RESULT_TRUNCATED |
The result was cut to its size cap. | Page with offset / limit, or narrow the request. |
SAMPLE_FRAME_SINGULAR |
The frame field winds around zero on some triangles; samples near them have aniso near 0 (round marks). On a closed surface the indices sum to its Euler characteristic, so a sphere-like part must have some. | Not a failure. measured.count says how many triangles, measured.positions where (up to 32), measured.chi the Euler characteristic of each closed part; raise smoothing to merge nearby ones, or use source uv to place them. |