lexer_error inheritance