Next: , Previous: , Up: ref-ere-err   [Contents][Index]


4.15.4.6 Representation Errors

A representation error occurs when your program calls for the computation of some well-defined value that cannot be represented.

Most representation errors are some sort of overflow. For example, creating a compound term with arity greater than 255 results in a representation error.

The SICStus_Error term for a representation error is

representation_error(Goal, ArgNo, Message)
ArgNo

identifies the argument of the goal that cannot be constructed.

Message

further classifies the problem. A message of 0 or '' provides no further information.


Send feedback on this subject.