[gui/ErrorHandler] remove unused #define