lib/errors.rb in datasift-3.7.0 vs lib/errors.rb in datasift-3.7.1
- old
+ new
@@ -66,9 +66,17 @@
# Standard error returned when receiving a 429 response from the API
class TooManyRequestsError < DataSiftError
end
+# Standard error returned when receiving a 500 response from the API
+class InternalServerError < DataSiftError
+end
+
+# Standard error returned when receiving a 502 response from the API
+class BadGatewayError < DataSiftError
+end
+
# Standard error returned when receiving a 503 response from the API
class ServiceUnavailableError < DataSiftError
end
# Standard error returned when receiving a 504 response from the API