lib/klaviyo/errors.rb in parallel588-klaviyo-0.11.0 vs lib/klaviyo/errors.rb in parallel588-klaviyo-0.12.0

- old
+ new

@@ -3,10 +3,11 @@ class KlaviyoError < ::StandardError; end class NotFound < KlaviyoError; end class UnprocessableEntity < KlaviyoError; end class InternalServerError < KlaviyoError; end class NotAuthorized < KlaviyoError; end + class AuthenticationError < KlaviyoError; end class RequestError < Faraday::Response::Middleware def on_complete(env) @@ -29,10 +30,5 @@ end end end - -#400 Bad request - Request is missing or has a bad parameter. -#401 Not Authorized - Request is missing or has an invalid API key. -#404 Not Found - The requested resource doesn't exist. -#500 Server errors - Something is wrong on Klaviyo's end.