Skip to main content

Module exceptions

Module exceptions 

Source
Expand description

Shared raised-exception contract for guest runtimes.

A guest obtains a class from its declared class descriptor, constructs [Raised], selects handlers through [match_raised_class], and stores recursive guest relations as stable edges in [ManagedException].

Structs§

ClassMatchBudget
Finite work allowance passed unchanged to the class-relation provider.
ClassMatchEvidence
Inspectable proof retained from a bounded subclass query.
ExceptionGraphBudget
Maximum number of relation edges admitted to one graph projection.
ExceptionGraphEdge
One caller-typed relation in a bounded graph view.
ExceptionGraphView
Terminating graph projection with explicit loss reporting.
ManagedException
A guest exception payload with caller-defined relation roles.
Raised
The one language-neutral exceptional-completion envelope.
RaisedBrowseBudget
Explicit byte budget for rendering a raised payload into a browse face.
RaisedBrowseProjection
Result of a bounded raised-envelope browse projection.
RaisedShape
Shape for the non-recursive Raised object and its read-construct face.

Enums§

BoundedSubclassOutcome
Exact result supplied by a bounded class-relation provider such as CLASS_2.
ClassMatchOutcome
Exact outcome of bounded handler class selection.

Functions§

match_raised_class
Matches a raised class using bounded subclass evidence and explicit policy.