Skip to main content
DLiteScript
Playground
Documentation
DLiteScript - A Delightfully Simple Scripting Language
Documentation
Standard Library
errors Namespace
errors.new
errors.new
Creates a new error value.
Examples
1
var
err
error
=
errors
.
new
(
"Something went wrong"
)
Improve this page