Exception: ElectionOver

Inherits:
APIError
  • Object
show all
Defined in:
lib/civic_aide/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = "The requested election is over. API results for the election are no longer available. Make an electionQuery to find an id for an upcoming election.") ⇒ ElectionOver

Returns a new instance of ElectionOver.



40
41
42
# File 'lib/civic_aide/errors.rb', line 40

def initialize(msg = "The requested election is over. API results for the election are no longer available. Make an electionQuery to find an id for an upcoming election.")
  super
end