2017 June Release

Defining error messagesPermanent link for this heading

Syntax

errormsg reference;


The errormsg keyword is used to define a custom error message that you can use when raising exceptions. It must be followed by the reference and a semicolon.

Example

resources APPDUCXSAMPLE@200.200 {
  import COOSYSTEM@1.1;

  errormsg NoInvoiceFound;
}