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.

= : (%, %) -> Boolean
from BasicType
OMParseError? : % -> Boolean

OMParseError?(u) tests whether u is an OpenMath parsing error.

OMReadError? : % -> Boolean

OMReadError?(u) tests whether u is an OpenMath read error.

OMUnknownCD? : % -> Boolean

OMUnknownCD?(u) tests whether u is an OpenMath unknown CD error.

OMUnknownSymbol? : % -> Boolean

OMUnknownSymbol?(u) tests whether u is an OpenMath unknown symbol error.

coerce : Symbol -> %

coerce(u) creates an OpenMath error object of an appropriate type if u is one of OMParseError, OMReadError, OMUnknownCD or OMUnknownSymbol, otherwise it raises a runtime error.

coerce : % -> OutputForm
from CoercibleTo(OutputForm)
latex : % -> String
from SetCategory
~= : (%, %) -> Boolean
from BasicType

SetCategory

BasicType

CoercibleTo(OutputForm)