Easypt

Exception

..Root.Exception

Constructs new Exception which is thrown when unrecognized error was encountered.

Child of:

Root

Signatures:

NativeCallable, Callable

Examples:

try({
    throw(Exception("Error!"));
}, {
    log(args[0].get());
});
auto block.=({
    throw(Exception("Error!"));
});

try(block, {
    log(args[0].get());
});