Error Codes in Openpetra: Difference between revisions
Jump to navigation
Jump to search
Wolfganguhr (talk | contribs) No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
In | ==Objective of Error Codes== | ||
In Petra 2.x, every error message has got an error code which helps to identify a message. In openPETRA this is even more important, because in openPETRA the message text and message title may be translated into any language and its meaning will be unclear to support staff who don't speak the language the message is shown in. The only way they can identify the error message in such a case is by looking up the error code. | |||
The | ==Error Code Handling in openPETRA== | ||
The object TVerificationResult provides the Property 'ResultCode'. The error code of a particular error needs to be assigned to this property. | |||
When an error message is displayed, e.g. in a MessageBox, the 'ResultCode' is to be displayed in a separate line at the end of the message. | |||
== Error Codes | ==Central Inventory of Error Codes== | ||
See [[Central Inventory of openPETRA Error Codes]] | |||
Revision as of 09:33, 16 March 2011
Objective of Error Codes
In Petra 2.x, every error message has got an error code which helps to identify a message. In openPETRA this is even more important, because in openPETRA the message text and message title may be translated into any language and its meaning will be unclear to support staff who don't speak the language the message is shown in. The only way they can identify the error message in such a case is by looking up the error code.
Error Code Handling in openPETRA
The object TVerificationResult provides the Property 'ResultCode'. The error code of a particular error needs to be assigned to this property.
When an error message is displayed, e.g. in a MessageBox, the 'ResultCode' is to be displayed in a separate line at the end of the message.