MCPcopy Create free account
hub / github.com/MarcusRainbow/QuantMath / as_error

Function as_error

src/facade/handle.rs:290–292  ·  view source on GitHub ↗

Converts a handle into an error. Normally, this is called following a call to is_error, which has returned true, so we know the handle contains an error. If it is called when the handle does not contain an error, this is itself an error. The handle is not freed as a result of this call.

(handle: u64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

qm_error_stringFunction · 0.85

Calls 2

handle_from_extFunction · 0.85
as_errorMethod · 0.80

Tested by

no test coverage detected