| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > ErrorClass > ErrorClass Methods >====== SubsString (resolves error message macros) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[setsilent set silent error flag .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[takebenign process benign error .htm|{{btn_next_n.gif|Next page}}]] | | || **SubsString, PROTECTED** {{blk2blue.jpg|blk2blue.jpg}} The **SubsString **method returns the current error message text with all runtime macros resolved. **Implementation:** The TakeFatal, TakeNotify, TakeUser, and Message methods call the SubsString method to resolve macros. **Return Data Type:**     STRING **ErrorClass.TakeFatal PROCEDURE** ** CODE** ** MESSAGE(Self.SubsString() & '  Press OK to end this application', |** **  Self.Errors.Title,ICON:Exclamation,Button:OK,BUTTON:OK,0)** ** HALT(0,Self.Errors.Title)** ** RETURN Level:Fatal** **See Also:**     [[filename file that produced the error .htm|FileName]], [[fieldname field that produced the error .htm|FieldName]], [[message display an error message .htm|Message]], [[messagetext custom error message text .htm|MessageText]], [[takefatal process fatal error .htm|TakeFatal]], [[takenotify process notify error .htm|TakeNotify]], [[takeuser process user error .htm|TakeUser]]