This group of library functions is closely related to the try catch control statement:
@RaiseError("This is an error!");
//Now jumps to the nearest catch-block.
//Any other statements in this
//try-block are not executed.
String errMsg := @ErrorMessage();
//Now errMsg == "This is an error!";