Exception: NoStreetSegmentFound

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = "The API currently has no information about what electoral precinct and/or district this address belongs to. It may be that we are still sourcing/processing new data, or that there are no voters who have registered to vote at this address.") ⇒ NoStreetSegmentFound

Returns a new instance of NoStreetSegmentFound.



16
17
18
# File 'lib/civic_aide/errors.rb', line 16

def initialize(msg = "The API currently has no information about what electoral precinct and/or district this address belongs to. It may be that we are still sourcing/processing new data, or that there are no voters who have registered to vote at this address.")
  super
end