lib/usps_flags/burgees/errors.rb in usps_flags-burgees-0.0.22 vs lib/usps_flags/burgees/errors.rb in usps_flags-burgees-0.1.0
- old
+ new
@@ -1,10 +1,14 @@
+# frozen_string_literal: true
+
# Custom errors.
#
# @private
-module USPSFlags::Errors
- class USPSFlags::Errors::UnknownBurgee < StandardError
- def initialize(msg = "You have requested an unknown burgee.")
- super(msg)
+class USPSFlags
+ class Errors
+ class UnknownBurgee < StandardError
+ def initialize(msg = 'You have requested an unknown burgee.')
+ super(msg)
+ end
end
end
end