MONO_ERROR_NONE

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Values

ValueMeaning
MONO_ERROR_NONE0
MONO_ERROR_MISSING_METHOD1
MONO_ERROR_MISSING_FIELD2
MONO_ERROR_TYPE_LOAD3
MONO_ERROR_FILE_NOT_FOUND4
MONO_ERROR_BAD_IMAGE5
MONO_ERROR_OUT_OF_MEMORY6
MONO_ERROR_ARGUMENT7
MONO_ERROR_ARGUMENT_NULL11
MONO_ERROR_NOT_VERIFIABLE8
MONO_ERROR_INVALID_PROGRAM12
MONO_ERROR_GENERIC9

This is a generic error mechanism is you need to raise an arbitrary corlib exception. You must pass the exception name otherwise prepare_exception will fail with internal execution.

MONO_ERROR_EXCEPTION_INSTANCE10

This one encapsulates a managed exception instance

MONO_ERROR_CLEANUP_CALLED_SENTINEL0xffff

Not a valid error code - indicates that the error was cleaned up and reused

Meta