home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1996 November
/
VPR9611B.ISO
/
vabasic
/
ntclnt.exe
/
DISK8
/
data.8
/
datab
/
INCLUDE
/
STATCODE
< prev
next >
Wrap
Text File
|
1996-07-29
|
3KB
|
66 lines
/*------------------------------------------------------------------------
* $Source: /rcs/crcs/framework/statcode,v $
* $Date: 1996/07/07 00:05:53 $ $Revision: 1.11 $
*
* Copyright 1992, Visual Edge Software Ltd.
* -----------------------------------------
* ALL RIGHTS RESERVED. This notice is intended as a precaution against
* inadvertent publication, and shall not be deemed to constitute an
* acknowledgment that publication has occurred nor to imply any waiver
* of confidentiality. The year included in the notice is the year
* of the creation of the work.
*------------------------------------------------------------------------*/
/*------------------------------------------------------------------------
* NAME: Status code table for builder engine core status codes.
*
* Names and values of status_t codes appear here. See status.hh.
*
* This is a DRAFT initial version, intended to illustrate what
* the file might contain.
* Using this could turn out to something of a guessing game.
* If we get the hang of reusing names meaningfully we can get
* a long way on a smallish set of error codes.
*
* This file is NOT wrapped for multiple inclusion.
* Rather, it is a macro-call file intended to be included as needed
* under suitable definitions of the StatusCode macro.
* See 'Status.hh' for the generic example.
*------------------------------------------------------------------------*/
StatusCode(OK, 0) // always means all is well
StatusCode(Error, -1) // generic failure
StatusCode(UserCanceled, -2) // OK/Cancel dialogs, etc.
StatusCode(NotImplemented,-3) // Coding not done yet.
StatusCode(NotAvailable, -4) // Long-term disabled features.
StatusCode(NotFound, -5) // For search-retrievals.
StatusCode(NoPermission, -6) // I.E. clobbering files, editing locked values
StatusCode(EndFile, -7) // EOF equivalent.
StatusCode(Suspended, -8) // For things temporarily not allowed.
StatusCode(SymbolExists, -9) // A Symbol with the same name already
// exists within this scope.
StatusCode(NO, -10) // Used w/ Yes/No/Cancel dialogs. Negative
StatusCode(NotSupported, -11) // Feature not supported
StatusCode(WriteFailed, -12)
StatusCode(ConstConvertFailed, -13) // Conversion of a string to a const failed
StatusCode(ConstConvertBadType, -14) // Conversion of a string to a const,
// type not supported
StatusCode(ReparentToSelf, -15) // Reparent to self error
StatusCode(ReparentToDescendant,-16) // Reparent to descendant error
StatusCode(Unchanged, -17) // data unchanged since last load
StatusCode(Restart, -18) // restarting the project is neccessary
StatusCode(Hazard, -19) // restarting the project is optional
StatusCode(Stop, -20) // user stopped evaluation of a property
StatusCode(NoAdapter, -21) // Adapter was not able to be found/constructed
StatusCode(WrongAdapter, -22) // Adapter was not correct
StatusCode(ReadOnly, -23) // File is read only
StatusCode(NativeExists, -24) // Exposure attempted to replace a native
// item with a foreign one.