<<>> <> <> <> DIRECTORY Prop USING [PropList], Rope USING [ROPE]; ImagerError: CEDAR DEFINITIONS ~ BEGIN ErrorDesc: TYPE ~ RECORD [code: ErrorCode, explanation: Rope.ROPE, propList: Prop.PropList ¬ NIL]; Error: ERROR [error: ErrorDesc]; Warning: SIGNAL [error: ErrorDesc]; AtomFromErrorCode: PROC [code: ErrorCode] RETURNS [ATOM]; ErrorCode: TYPE ~ MACHINE DEPENDENT { <> <> ok (0), -- unused <> bounds, -- A value is out of range overflow, -- A computation overflowed zeroDivide, -- divide by zero nilFault, -- a NIL value was encountered insufficientMemory, -- out of memory ioError, -- unrecoverable I/O error timeout, -- some resource timed out eof, -- unexpected end-of-file numericalInstability, -- dubious floating-point computation bug, -- an internal error <> fileNotFound (20), colorModelOperatorNotFound, colorOperatorNotFound, colorNotFound, decompressorNotFound, fontNotFound, operatorNotFound, resourceNotFound, accessError, <> syntax (40), undefinedOperation, invalidCompressedSequence, malformedFont, invalidEncoding, invalidHeader, invalidIdentifier, invalidInstructionProperty, invalidName, invalidString, invalidToner(50), invalidVersion, malformedDataFile, <> nullValue (60), -- an uninitialized value was encountered illegalAlternateMetrics, illegalColor, unknownSpecialColor, unknownSignalType, wrongShape, wrongSize, notCardinal, notInteger, notNumber, wrongType(70), noFont, illegalArguments, illegalTransformation, illegalPixelMask, illegalPropertyVector, illegalRunVector, undefinedProperty, <> stackOverflow (80), stackUnderflow, saveRestoreMismatch, markMismatch, unmarkFailed, invalidOperationSequence, <> obsoleteConstruct (100), unsupportedColorOperator, notImplemented, -- not currently implemented unimplemented, -- not implemented, probably for a good reason <> squareEndOnStrokeOfZeroLength (120), unableToProperlyAdjustMaskPositions, noSubstituteColor, fontSubstitution, appearance, <> error (140), -- an error raised explicitly in a master <> copySensitive (160), -- a warning that a page's appearance depends on the copy number <> (BYTE.LAST) }; END.