lib/usps_flags/grades/errors.rb in usps_flags-grades-0.0.12 vs lib/usps_flags/grades/errors.rb in usps_flags-grades-0.1.0
- old
+ new
@@ -1,10 +1,14 @@
+# frozen_string_literal: true
+
# Custom errors.
#
# @private
-module USPSFlags::Errors
- class USPSFlags::Errors::InvalidInsignia < StandardError
- def initialize(msg = "You have specified invalid insignia.")
- super(msg)
+class USPSFlags
+ class Errors
+ class InvalidInsignia < StandardError
+ def initialize(msg = 'You have specified invalid insignia.')
+ super(msg)
+ end
end
end
end