lib/loopiator/client.rb in loopiator-0.3.7 vs lib/loopiator/client.rb in loopiator-0.3.8
- old
+ new
@@ -39,10 +39,12 @@
when :domain_occupied then return response
when :auth_error then raise Loopiator::AuthError
when :rate_limited then raise Loopiator::RateLimitError
when :insufficient_funds then raise Loopiator::InsufficientFundsError
when :bad_indata then raise Loopiator::InvalidParameterError
- when :unknown_error then raise Loopiator::UnknownError
+ # :unknown_error will be returned when calling 'orderDomain' and the domain already exists in a customer account
+ # do not raise an error until Loopia has updated their API to add an additional error code specifically targeting this phenomena
+ #when :unknown_error then raise Loopiator::UnknownError
else
return response
end
end
\ No newline at end of file