#include <ShoreApp.h> class Shore;
In the current release of Shore, error codes are layered, meaning that each layer has a specific set of error codes that it can generate, and in general, these sets do not overlap. Any layer can, however, return an error code that was generated by a lower layer. Below is a list of error codes that can be generated by the Shore language-independent library.
OC_AlreadyInitialized - Object cache already initialized OC_NotInitialized - Object cache not initialized OC_OptionsNotInitialized - Options not yet initialized OC_BadObject - Invalid object OC_BadVolume - Invalid volume OC_BadPool - Invalid pool OC_BadType - Invalid type OC_BadLockMode - Invalid lock mode OC_NotAPool - Object is not a pool OC_NotADir - Object is not a directory OC_ScanAlreadyOpen - Scan is already open OC_ScanNotOpen - Scan is not open OC_EndOfScan - Reached EOF in scan OC_OutOfMemory - Out of memory OC_Internal - Object cache internal error