summaryrefslogtreecommitdiff
path: root/lib/logger/errors.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/logger/errors.rb')
-rw-r--r--lib/logger/errors.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/logger/errors.rb b/lib/logger/errors.rb
new file mode 100644
index 0000000000..e8925e14ac
--- /dev/null
+++ b/lib/logger/errors.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+# not used after 1.2.7. just for compat.
+class Logger
+ class Error < RuntimeError # :nodoc:
+ end
+ class ShiftingError < Error # :nodoc:
+ end
+end