lib/translator_text/exceptions.rb in translator-text-0.2.0 vs lib/translator_text/exceptions.rb in translator-text-0.3.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
module TranslatorText
class Error < StandardError
attr_reader :code, :message, :errors
def initialize(code:, message:)