Skip to content

Commit

Permalink
better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
stmuk committed Oct 25, 2022
1 parent 641f0ee commit 3c24735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
var (
geoCodeOverride = "ltla" // Fran 20220831
validGeo = []string{"ctry", "lsoa", "ltla", "msoa", "nat", "oa", "rgn", "utla"} // allowlist of codes
errNotOneGeocode = errors.New("exactly one geocode not found")
errNotOneGeocode = errors.New("invalid data - expected exactly one geocode")
)

// getMetadata is the main entry point
Expand Down

0 comments on commit 3c24735

Please sign in to comment.