class LogJam::Error
This class provides the exception class used by the LogJam
library.
Attributes
cause[R]
Public Class Methods
new(message, cause=nil)
click to toggle source
Constructor for the LogJam::Error
class.
Parameters¶ ↑
- message
-
The message to be associated with the error.
- cause
-
Any underlying exception to be associated with the error. Defaults to nil.
Calls superclass method
# File lib/logjam/exceptions.rb, line 17 def initialize(message, cause=nil) super(message) @cause = cause end