Function panic
pub fn panic(values: Vec<Value>) -> Result<Never, EcoString>
Expand description
Fails with an error.
Arguments are displayed to the user (not rendered in the document) as
strings, converting with repr
if necessary.
ยงExample
The code below produces the error panicked with: "this is wrong"
.
#panic("this is wrong")