This commit is contained in:
Vitor Santos Costa
2018-10-13 08:51:54 +01:00
16 changed files with 84 additions and 66 deletions

View File

@@ -27,13 +27,13 @@ ECLASS(RESOURCE_ERROR, "resource_error", 2)
/// bad text
ECLASS(SYNTAX_ERROR_CLASS, "syntax_error", 1)
/// OS or internal
ECLASS(SYSTEM_ERROR_CLASS, "system_error", 2)
ECLASS(SYSTEM_ERROR_CLASS, "system_error", 1)
/// bad typing
ECLASS(TYPE_ERROR, "type_error", 2)
/// should be unbound
ECLASS(UNINSTANTIATION_ERROR_CLASS, "uninstantiation_error", 1)
/// escape hatch
ECLASS(EVENT, "event", 2)
/// user defined escape hatch
ECLASS(EVENT, "event", 1)
END_ERROR_CLASSES();

View File

@@ -137,4 +137,4 @@ typedef struct yap_boot_params {
char *ErrorCause;
} YAP_init_args;
#endif
#endif