DBCDK / biblo-admin

Admin application for biblo
0 stars 3 forks source link

Improve exception messages #88

Closed kasperg closed 8 years ago

kasperg commented 8 years ago

Normally the exception message in in the format: [http-error-code] Error connecting to the API (api-url)

That is not very informative.

The community service keeps more information e.g. validation errors in an unstructured object in the response body. We try to extract these if possible and rethrow.

Move the API configuration under the same Api namespace.