We want to wrap all exceptions that can occur inside the Gravatar service methods in our own GravatarException to provide the ErrorType as we do in the catching variants of those methods.
With this approach, we'll provide detailed information about the error, but at the same time, third-party developers know what exceptions can be expected from the Gravatar Services, basically GravatarException.
Testing Steps
Code review (including test)
Smoke test demo-app (although we are not using nonCatching method there)
Closes #377
Description
We want to wrap all exceptions that can occur inside the Gravatar service methods in our own
GravatarException
to provide theErrorType
as we do in the catching variants of those methods.With this approach, we'll provide detailed information about the error, but at the same time, third-party developers know what exceptions can be expected from the Gravatar Services, basically
GravatarException
.Testing Steps
nonCatching
method there)