Previous: , Up: Error methods macros and codes   [Contents]


19.4 Internal error codes

An internal error code may be one of two things: First, it can be an error code which arises from an internal Libmarpa programming issue (in other words, something happening in the code that was not supposed to be able to happen.) Second, it can be an error code which only occurs when a method from Libmarpa’s internal interface is used. Both kinds of internal error message share one common trait — users of the Libmarpa’s external interface should never see them.

Internal error messages require someone with knowledge of the Libmarpa internals to follow up on them. They usually do not have descriptions or suggested messages.

Macro: int MARPA_ERR_AHFA_IX_NEGATIVE

Numeric value: 1.

Macro: int MARPA_ERR_AHFA_IX_OOB

Numeric value: 2.

Macro: int MARPA_ERR_ANDID_NEGATIVE

Numeric value: 3.

Macro: int MARPA_ERR_ANDID_NOT_IN_OR

Numeric value: 4.

Macro: int MARPA_ERR_ANDIX_NEGATIVE

Numeric value: 5.

Macro: int MARPA_ERR_BOCAGE_ITERATION_EXHAUSTED

Numeric value: 7.

Macro: int MARPA_ERR_DEVELOPMENT

"Development" errors were used heavily during Libmarpa’s development, when it was not yet clear how precisely to classify every error condition. Unless they are using a developer’s version, users of the external interface should never see development errors.

Development errors have an error string associated with them. The error string is a short 7-bit ASCII error string which describes the error. Numeric value: 9. Suggested message: "Development error, see string".

Macro: int MARPA_ERR_DUPLICATE_AND_NODE

Numeric value: 10.

Macro: int MARPA_ERR_YIM_ID_INVALID

Numeric value: 14.

Macro: int MARPA_ERR_INTERNAL

A “catchall” internal error. Numeric value: 19.

Macro: int MARPA_ERR_INVALID_AHFA_ID

The AHFA ID was invalid. There are no AHFAs any more, so this message should not occur. Numeric value: 20.

Macro: int MARPA_ERR_INVALID_AIMID

The AHM ID was invalid. The term “AIMID” is a legacy of earlier implementations and must be kept for backward compatibility. Numeric value: 21.

Macro: int MARPA_ERR_INVALID_IRLID

Numeric value: 23.

Macro: int MARPA_ERR_INVALID_NSYID

Numeric value: 24.

Macro: int MARPA_ERR_NOOKID_NEGATIVE

Numeric value: 33.

Macro: int MARPA_ERR_NOT_TRACING_COMPLETION_LINKS

Numeric value: 35.

Macro: int MARPA_ERR_NOT_TRACING_LEO_LINKS

Numeric value: 36.

Macro: int MARPA_ERR_NOT_TRACING_TOKEN_LINKS

Numeric value: 37.

Macro: int MARPA_ERR_NO_AND_NODES

Numeric value: 38.

Macro: int MARPA_ERR_NO_OR_NODES

Numeric value: 40.

Macro: int MARPA_ERR_NO_TRACE_YS

Numeric value: 46.

Macro: int MARPA_ERR_NO_TRACE_PIM

Numeric value: 47.

Macro: int MARPA_ERR_NO_TRACE_YIM

Numeric value: 45.

Macro: int MARPA_ERR_NO_TRACE_SRCL

Numeric value: 48.

Macro: int MARPA_ERR_ORID_NEGATIVE

Numeric value: 51.

Macro: int MARPA_ERR_OR_ALREADY_ORDERED

Numeric value: 52.

Macro: int MARPA_ERR_PIM_IS_NOT_LIM

Numeric value: 55.

Macro: int MARPA_ERR_SOURCE_TYPE_IS_NONE

Numeric value: 70.

Macro: int MARPA_ERR_SOURCE_TYPE_IS_TOKEN

Numeric value: 71.

Macro: int MARPA_ERR_SOURCE_TYPE_IS_COMPLETION

Numeric value: 68.

Macro: int MARPA_ERR_SOURCE_TYPE_IS_LEO

Numeric value: 69.

Macro: int MARPA_ERR_SOURCE_TYPE_IS_AMBIGUOUS

Numeric value: 67.

Macro: int MARPA_ERR_SOURCE_TYPE_IS_UNKNOWN

Numeric value: 72.


Previous: , Up: Error methods macros and codes   [Contents]