Causes a user-defined error.
ErrorEvent( severity, error-code, error-message)
(i) severity severity, which can be one of the following: -1 minor error -2 moderate error
-3 severe error
(i) error-code error code, which must be a number between 7000 and 7999.
(s) error-message error message, which is a string describing the error
(i) always 1.
ErrorEvent ( -1, 7001, "Testing User Defined Error");minor error ErrorEvent ( -2, 7002, "Testing User Defined Error");moderate error ErrorEvent ( -3, 7003, "Testing User Defined Error");fatal error