This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / The Mathematica Book / Mathematica Reference Guide / Listing of C Functions in the MathLink Library /

MLError()

FilledSmallSquare long MLError(MLINK link) returns a constant identifying the last error to occur on link, or 0 if none has occurred since the previous call to MLClearError().

FilledSmallSquare You can get a textual description of errors by calling MLErrorMessage().

FilledSmallSquare Constants corresponding to standard MathLink errors are defined in mathlink.h.

FilledSmallSquare See Section 2.13.13.