ChaiScript/unittests/runtime_error.chai

7 lines
71 B
ChaiScript

try {
throw(runtime_error("error"))
}
catch(e) {
print(e.what())
}