CafeObj & Error Values
by Wolfgang Schreiner - Thursday, 9 February 2006, 05:34 PM
  Dear course participants,

I forgot to discuss in class how to deal in CafeObj with
the error values demanded by the "FileSystem" specification.

I suggest to add an error constant to each type that is the domain
of a function with a possible error result and return this constant
in case of errors. If you do not equate this constant with
any valid value of that type (I hope you do not wink then it is clear
that this value is different from any valid value and can be
used in checking for errors.

Best regards, WS