Issue #24. This changes the exception being thrown when there is a failure response code to MastodonApiException, containing additional information to help the developer respond to particular error conditions.
Also included is some additional unit testing using a mock HttpClient, which we may want to expand upon to get some additional test coverage.
Issue #24. This changes the exception being thrown when there is a failure response code to MastodonApiException, containing additional information to help the developer respond to particular error conditions.
Also included is some additional unit testing using a mock HttpClient, which we may want to expand upon to get some additional test coverage.