| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > ErrorClass > ErrorClass Methods >====== GetError (Retrieve the current error message) ====== | [[getdefaultcategory get default error category .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[geterrorcode.htm|{{btn_next_n.gif|Next page}}]] | | || **GetError(**[//errorlevel//] ) {{blk2blue.jpg|blk2blue.jpg}} | **GetError** | Retrieves the current error message. | | //errorlevel// | An integer constant, variable, EQUATE, or expression that indicates the error level. | The **GetError **method retrieves the error message from the SaveError or SaveFileError property, based on the type of //errorlevel// that is detected. **Return Data Type:     **CSTRING