Exception: VoteFu::InvalidVoteValueError

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

Overview

Raised when an invalid vote value is provided

Instance Method Summary collapse

Constructor Details

#initialize(msg = "Vote value must be an integer") ⇒ InvalidVoteValueError



23
24
25
# File 'lib/vote_fu/errors.rb', line 23

def initialize(msg = "Vote value must be an integer")
  super
end