DLiteScript
Playground
Documentation
errors.new
Creates a new error value.
Examples
1
var
err
error
=
errors
.
new
(
"Something went wrong"
)