MCPcopy Create free account
hub / github.com/cel-rust/cel-rust / error

Method error

cel/src/functions.rs:52–54  ·  view source on GitHub ↗

Returns an execution error for the currently execution function.

(&self, message: M)

Source from the content-addressed store, hash-verified

50
51 /// Returns an execution error for the currently execution function.
52 pub fn error<M: ToString>(&self, message: M) -> ExecutionError {
53 ExecutionError::function_error(self.name, message)
54 }
55}
56
57/// Calculates the size of either the target, or the provided args depending on how

Callers 10

failFunction · 0.80
sizeFunction · 0.80
stringFunction · 0.80
doubleFunction · 0.80
uintFunction · 0.80
intFunction · 0.80
optional_noneFunction · 0.80
optional_ofFunction · 0.80
matchesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected