XMS error and exception codes

XMS uses a range of error codes to indicate failures. These error codes are not explicitly listed in this documentation because they may vary from release to release. Only XMS exception codes (in the format XMS_X_...) are documented because they remain the same across releases of XMS.