Represents an error returned by the Increase API, or a transport-level failure (timeout, connection refused, etc).
API errors conform to RFC 9457
and always have the same shape: type, title, status, and a nullable
detail. See the Errors documentation
for the full list of type values.
Examples
{:error, %Increase.Error{type: "invalid_operation_error", status: 409}} =
Increase.Accounts.close(client, "account_with_balance")