OpenMathErrorKindΒΆ
omerror.spad line 1 [edit on github]
OpenMathErrorKind represents different kinds of OpenMath errors: specifically parse errors, unknown CD
or symbol errors, and read errors.
- coerce: % -> OutputForm
from CoercibleTo OutputForm
- coerce: Symbol -> %
coerce(u)
creates an OpenMath error object of an appropriate type ifu
is one ofOMParseError
,OMReadError
,OMUnknownCD
orOMUnknownSymbol
, otherwise it raises a runtime error.
- latex: % -> String
from SetCategory
- OMParseError?: % -> Boolean
OMParseError?(u)
tests whetheru
is an OpenMath parsing error.
- OMReadError?: % -> Boolean
OMReadError?(u)
tests whetheru
is an OpenMath read error.
- OMUnknownCD?: % -> Boolean
OMUnknownCD?(u)
tests whetheru
is an OpenMath unknownCD
error.
- OMUnknownSymbol?: % -> Boolean
OMUnknownSymbol?(u)
tests whetheru
is an OpenMath unknown symbol error.