[Block] error: [object]. | Manual

[Block] error: [object].

Sets error flag on a block of code. This will throw an error / exception. You can attach an object to the error, for instance an error message. Example: { thisBlock error: 'oops!'. } catch: { :errorMessage Pen write: errorMessage. }, run.

back to homepage
back to manual menu

This API reference guide has been generated automatically from source code comments using the shtml.ctr script.