Central Inventory of openPETRA Error Codes

From OpenPetra Wiki
Revision as of 16:00, 18 March 2011 by Christiankatict (talk | contribs)
Jump to navigation Jump to search

Overview

Any error code which is used in openPETRA must be listed here!

Always include a short description. A page may be added to the wiki where a more detailed description is given for a particular error. This wiki page is to be linked to from the error code itself (see 'Examples' below).

Error Code Structure

An error code string consists of four sections:

  • the abbreviated name of the openPETRA Module in which the error occurs, or 'GEN' if it is not related to any openPETRA Module, or 'GENC' if it is not specific to openPETRA (Ict.Common libraries only);
  • a full stop ('.');
  • a running five-digit number with leading zeroes which is unique;
  • a single character. 'V' denotes a data verification error, 'N' denotes a non-critical error, 'E' denotes any other error.


GENERAL (Ict.Common libraries only)

Abbreviation: 'GENC '

Error Code Description
GENC.00001V Invalid date.
GENC.00002V Date may not be empty.
GENC.00003V Future date not allowed.
GENC.00004V Past date not allowed.


GENERAL (openPETRA)

Abbreviation: 'GEN '

Error Code Description
GEN.00001V General data verification error.
GEN.00002V Value is no longer assignable.
GEN.00003E No permission to access DB Table.
GEN.00004E No permission to access Petra Module.
GEN.00005E No permission to access Petra Group.
GEN.00006E Concurrent changes to data happened.

PARTNER Module

Abbreviation: 'PARTN '

Error Code Description
PARTN.00001V Partner Key is invalid.
PARTN.00002N Partner Status MERGED change undone.
PARTN.00003N UnitName change undone.
PARTN.00004V Bank Bic/Swift Code invalid.
PARTN.00005V email Address invalid.

PERSONNEL Module

Abbreviation: 'PERS '

Error Code Description
PERS.nnnnnX Description

FINANCE Module

Abbreviation: 'FIN '

Error Code Description
FIN.nnnnnX Description

CONFERENCE Module

Abbreviation: 'CONF '

Error Code Description
CONF.nnnnnX Description

FINANCIAL DEVELOPMENT Module

Abbreviation: 'FINDEV '

Error Code Description
FINDEV.nnnnnX Description

SYSTEM MANAGER Module

Abbreviation: 'SYSMAN '

Error Code Description
SYSMAN.nnnnnX Description