Skip to main content

runtime_error_value

Function runtime_error_value 

Source
pub fn runtime_error_value(
    error: RuntimeError,
    disposition: DomainDisposition,
) -> Value
Expand description

Project the original typed error, preserving every structured source field.

disposition describes the enclosing operation. Named runtime refusals keep their existing wire override. This function moves an obligation’s result without cloning or recursively serializing it; callers apply their own depth limits before any recursive operation on the returned value.