fix rubocop warning 'RaiseArgs'