storj/satellite/console/consoleweb/consoleapi
Jeremy Wharton 1535bbe673 satellite/console: Forward friendly registration errors to client
Provides the means to serve an error to the user with a user-friendly
error message (serveCustomJSONError). Auth API uses this when
processing registration attempts.

Previously, the error message was inferred by the client based on
the status code of the response received from the server. However,
if multiple distinct errors fit a certain status code, it was impossible
to correctly interpret the error.

Change-Id: I2f91e9c81ba1a4d14ba67e0b4b531a48800d4799
2021-07-22 11:31:12 +00:00
..
analytics.go satellite/console/.../consoleapi: Standardize serveJSONError 2021-06-29 09:40:07 -04:00
apikeys_test.go ci: fix lint errors 2021-05-17 13:37:31 +00:00
apikeys.go satellite/console/.../consoleapi: Standardize serveJSONError 2021-06-29 09:40:07 -04:00
auth_test.go satellite/console: Forward friendly registration errors to client 2021-07-22 11:31:12 +00:00
auth.go satellite/console: Forward friendly registration errors to client 2021-07-22 11:31:12 +00:00
buckets_test.go ci: fix lint errors 2021-05-17 13:37:31 +00:00
buckets.go satellite/console/.../consoleapi: Standardize serveJSONError 2021-06-29 09:40:07 -04:00
common.go satellite/console: Forward friendly registration errors to client 2021-07-22 11:31:12 +00:00
payments.go satellite/console/.../consoleapi: Standardize serveJSONError 2021-06-29 09:40:07 -04:00
usagelimits_test.go satellite/console/.../consoleapi: Standardize serveJSONError 2021-06-29 09:40:07 -04:00
usagelimits.go satellite/console/.../consoleapi: Standardize serveJSONError 2021-06-29 09:40:07 -04:00