summaryrefslogtreecommitdiff
path: root/lib/logger/errors.rb
diff options
context:
space:
mode:
authorColby Swandale <[email protected]>2018-12-12 14:08:35 +1100
committerHiroshi SHIBATA <[email protected]>2019-07-15 14:43:07 +0900
commitbbe157f34046ec9ef81e6ad9ed37c86a0d9155e4 (patch)
tree795ef0226ac95ede84fcee787dbe6cec19418463 /lib/logger/errors.rb
parent136196785b10f7cffa1e4d557bc3bcc0e863813a (diff)
[ruby/logger] split logger classes/modules into separate files
https://github.com/ruby/logger/commit/f10ce9fff2
Diffstat (limited to 'lib/logger/errors.rb')
-rw-r--r--lib/logger/errors.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/logger/errors.rb b/lib/logger/errors.rb
new file mode 100644
index 0000000000..e0fb4c643f
--- /dev/null
+++ b/lib/logger/errors.rb
@@ -0,0 +1,7 @@
+class Logger
+ class Error < RuntimeError # :nodoc:
+ end
+ # not used after 1.2.7. just for compat.
+ class ShiftingError < Error # :nodoc:
+ end
+end