An instance of this class may be caught when an error occurs inside a trap or try statement. The error message may be recovered using toString and the location using locate.
|
|
|
An Error object may be constructed from an error message.
|
An error may be raised from an Error object using error.
|
|
It is possible to create subclasses of Error for finer error handling.
|
|
The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/Macaulay2Doc/ov_debugging.m2:366:0.