lib/deepl/exceptions/error.rb in deepl-rb-2.5.3 vs lib/deepl/exceptions/error.rb in deepl-rb-3.0.0
- old
+ new
@@ -1,8 +1,14 @@
+# Copyright 2018 Daniel Herzog
+# Use of this source code is governed by an MIT
+# license that can be found in the LICENSE.md file.
# frozen_string_literal: true
module DeepL
module Exceptions
class Error < StandardError
+ def should_retry?
+ false
+ end
end
end
end