Error Codes in Openpetra

From OpenPetra Wiki
Revision as of 07:40, 16 March 2011 by Wolfganguhr (talk | contribs) (Created page with 'In petra every error message has got a code which helps to identify a messsage. In openpetra this is a little bit more important because here the message may be translated and un…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In petra every error message has got a code which helps to identify a messsage. In openpetra this is a little bit more important because here the message may be translated and unclear. The object TVerificationResultCollection for example provides a file named AResultCode and this may be one good position to place it.

The task of this side is either to provide a ticket system which guarantees that a code is unique and it provides the start page for enhanced service information. As it was done in petra, in openpetra we will handle a code containing two parts, the name of the module and a running number. Each code number which is used by open petra has to be listed here includig a short description. Later - if necessary - a link to a more detailed page can be added.

The error number contains of a module name like MODULE and a running number like MODULE.01 or else.

  1. REVAL
    1. 01 = Standard messsage ...