Errors.h File Reference


Detailed Description

Common error codes (renaming from CmnError.h).

#include <stdint.h>
#include <limits.h>
#include <BuildDefaults.h>
#include <PalmTypes.h>
#include <CmnErrors.h>

Go to the source code of this file.

Defines

#define B_JPARKS_BROKE_IT   B_BROKEN_PIPE

Enumerations

enum  binder_error_codes_enum {
  B_BINDER_MISSING_ARG = bndErrMissingArg, B_BINDER_BAD_TYPE = bndErrBadType, B_BINDER_DEAD = bndErrDead, B_BINDER_UNKNOWN_TRANSACT = bndErrUnknownTransact,
  B_BINDER_BAD_TRANSACT = bndErrBadTransact, B_BINDER_TOO_MANY_LOOPERS = bndErrTooManyLoopers, B_BINDER_BAD_INTERFACE = bndErrBadInterface, B_BINDER_UNKNOWN_METHOD = bndErrUnknownMethod,
  B_BINDER_UNKNOWN_PROPERTY = bndErrUnknownProperty, B_BINDER_OUT_OF_STACK = bndErrOutOfStack, B_BINDER_INC_STRONG_FAILED = bndErrIncStrongFailed, B_BINDER_READ_NULL_VALUE = bndErrReadNullValue
}
 Binder error codes. More...
enum  general_error_codes_enum {
  B_NO_MEMORY = sysErrNoFreeRAM, B_BAD_VALUE = sysErrParamErr, B_NOT_ALLOWED = sysErrNotAllowed, B_TIMED_OUT = sysErrTimeout,
  B_BAD_INDEX = sysErrBadIndex, B_BAD_TYPE = sysErrBadType, B_MISMATCHED_VALUES = sysErrMismatchedValues, B_NAME_NOT_FOUND = sysErrNameNotFound,
  B_NAME_IN_USE = sysErrNameInUse, B_CANCELED = sysErrCanceled, B_NO_INIT = sysErrNoInit, B_PERMISSION_DENIED = sysErrPermissionDenied,
  B_BAD_DATA = sysErrBadData, B_DATA_TRUNCATED = sysErrDataTruncated, B_UNSUPPORTED = sysErrUnsupported, B_WOULD_BLOCK = sysErrWouldBlock,
  B_BUSY = sysErrBusy, B_IO_ERROR = sysErrIO, B_DONT_DO_THAT = sysErrDontDoThat, B_BAD_DESIGN_ENCOUNTERED = sysErrBadDesignEncountered,
  B_WEAK_REF_GONE = sysErrWeakRefGone, B_END_OF_DATA = sysErrEndOfData, B_INTERRUPTED = sysErrInterrupted, B_BROKEN_PIPE = sysErrBrokenPipe,
  B_ENTRY_NOT_FOUND = sysErrEntryNotFound, B_ENTRY_EXISTS = sysErrEntryExists, B_NAME_TOO_LONG = sysErrNameTooLong, B_OUT_OF_RANGE = sysErrOutOfRange,
  B_ERROR = -1, B_OK = errNone, B_NO_ERROR = errNone
}
 General error codes. More...
enum  media_error_codes_enum {
  B_MEDIA_FORMAT_MISMATCH = mediaErrFormatMismatch, B_MEDIA_ALREADY_VISITED = mediaErrAlreadyVisited, B_MEDIA_STREAM_EXHAUSTED = mediaErrStreamExhausted, B_MEDIA_ALREADY_CONNECTED = mediaErrAlreadyConnected,
  B_MEDIA_NOT_CONNECTED = mediaErrNotConnected, B_MEDIA_NO_BUFFER_SOURCE = mediaErrNoBufferSource, B_MEDIA_BUFFER_FLOW_MISMATCH = mediaErrBufferFlowMismatch
}
 Media Kit error codes. More...
enum  regexp_error_codes_enum {
  B_REGEXP_UNMATCHED_PARENTHESIS = regexpErrUnmatchedParenthesis, B_REGEXP_TOO_BIG = regexpErrTooBig, B_REGEXP_TOO_MANY_PARENTHESIS = regexpErrTooManyParenthesis, B_REGEXP_JUNK_ON_END = regexpErrJunkOnEnd,
  B_REGEXP_STAR_PLUS_OPERAND_EMPTY = regexpErrStarPlusOneOperandEmpty, B_REGEXP_NESTED_STAR_QUESTION_PLUS = regexpErrNestedStarQuestionPlus, B_REGEXP_INVALID_BRACKET_RANGE = regexpErrInvalidBracketRange, B_REGEXP_UNMATCHED_BRACKET = regexpErrUnmatchedBracket,
  B_REGEXP_INTERNAL_ERROR = regexpErrInternalError, B_REGEXP_QUESTION_PLUS_STAR_FOLLOWS_NOTHING = regexpErrQuestionPlusStarFollowsNothing, B_REGEXP_TRAILING_BACKSLASH = regexpErrTrailingBackslash, B_REGEXP_CORRUPTED_PROGRAM = regexpErrCorruptedProgram,
  B_REGEXP_MEMORY_CORRUPTION = regexpErrMemoryCorruption, B_REGEXP_CORRUPTED_POINTERS = regexpErrCorruptedPointers, B_REGEXP_CORRUPTED_OPCODE = regexpErrCorruptedOpcode
}
 Regular Expression error codes. More...
enum  www_error_codes_enum { B_INVALID_URL = exgErrInvalidURL, B_INVALID_SCHEME = exgErrInvalidScheme }
 WWW error codes. More...