Error

Parent Previous Next

Error.

This group of library functions is closely related to the try catch control statement:


 Try

 {

   @RaiseError("This is an error!");

   //Now jumps to the nearest catch-block.

   //Any other statements in this

   //try-block are not executed.

 }

 Catch

 {

   String errMsg := @ErrorMessage();

   //Now errMsg == "This is an error!";

 }