next up previous 372
Next: Demonstration Programs
Up: NBS The Noticeboard System
Previous: NBS_GET_CINFO - Get general character information on a given noticeboard

NBS Error Codes

This is edited from the source file that is processed by the MESSAGE utility and the (slightly modified) ADAM ERRGEN utility to generate the C (NBS_DIR:NBS_ERR.H) and Fortran (NBS_DIR:NBS_ERR.INC) versions of the error code INCLUDE files.

Severity Name Description
Information SECTIONEXISTED Noticeboard already existed
Warning TOOMANYDIMS More dimensions than maximum allowed
  TOOMANYBYTES More bytes than maximum allowed
  BADOFFSET Offset is less than zero
  BADOPTION Illegal parameter / item name
  DATANOTSAVED Data part of noticeboard not saved -- cannot restore it
Error DEFINING Currently defining noticeboard contents
  NOTDEFINING Not currently defining noticeboard contents
  NILSID NIL static ID
  NILID NIL item ID
  PRIMITIVE Item is primitive
  NOTPRIMITIVE Item is not primitive
  ITEMNOTFOUND Item does not exist
  SECTIONNOTFOUND Noticeboard does not exist
  CANTOPEN Can't open noticeboard definition file
  CANTWRITE Can't write noticeboard definition file
  CANTREAD Can't read noticeboard definition file
  NOTOWNER Non-owner attempted to alter noticeboard
  TIMEOUT Time out finding noticeboard or getting item value or shape
  DATASAVED Data part of noticeboard saved -- cannot restore definition
  DATANOTRESTORED Data was not restored from noticeboard file -- cannot save it
  HASIDS Item / noticeboard has items derived from it -- cannot lose it
  NOTTOPLEVEL Item is not top-level (ie not noticeboard) -- cannot lose it
  TOPLEVEL Item is top-level (ie noticeboard) -- cannot lose it
  NEVERFOUND Parent has no items derived from it -- cannot lose it
Fatal INITALLOCFAILED Couldn't initialise storage allocator
  NOMOREROOM Couldn't get memory -- increase MAX_DEFN_SIZE if when defining
  BADVERSION Noticeboard or definition file had wrong version
  IMPOSSIBLE Something impossible happened -- system error



next up previous 372
Next: Demonstration Programs
Up: NBS The Noticeboard System
Previous: NBS_GET_CINFO - Get general character information on a given noticeboard

NBS The Noticeboard System
Starlink User Note 77
D.J. Allan
11 September 1995
E-mail:ussc@star.rl.ac.uk