Exception: Wikidatum::Errors::DisallowedBotEditError

Inherits:
Wikidatum::Error
  • Object
show all
Defined in:
lib/wikidatum/errors.rb

Overview

If the Wikidatum::Client is set to mark their edits as belonging to a bot, they must be authenticated as a bot user. We will disallow these edits as long as they’re not authenticated as a specific user.

Instance Method Summary collapse

Instance Method Details

#messageObject



19
20
21
# File 'lib/wikidatum/errors.rb', line 19

def message
  'No authentication provided, but attempted to edit as a bot. You cannot make edits as a bot unless you have authenticated as a user with the Bot flag.'
end