Exception: MultipleStreetSegmentsFound

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = "The API cannot find information for the specified address, but it has information about nearby addresses. The user should contact their election official for more information.") ⇒ MultipleStreetSegmentsFound

Returns a new instance of MultipleStreetSegmentsFound.



34
35
36
# File 'lib/civic_aide/errors.rb', line 34

def initialize(msg = "The API cannot find information for the specified address, but it has information about nearby addresses. The user should contact their election official for more information.")
  super
end