MCPcopy Create free account
hub / github.com/alphagov/notifications-api / unique_errors

Function unique_errors

app/schema_validation/__init__.py:150–155  ·  view source on GitHub ↗
(dups)

Source from the content-addressed store, hash-verified

148
149
150def unique_errors(dups):
151 unique = []
152 for x in dups:
153 if x not in unique:
154 unique.append(x)
155 return unique
156
157
158def __format_message(e):

Callers 1

build_error_messageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected