class Sequel::Error
The default exception class for exceptions raised by Sequel. All exception classes defined by Sequel are descendants of this class.
Attributes
wrapped_exception[RW]
If this exception wraps an underlying exception, the underlying exception is held here.
Public Instance Methods
cause()
click to toggle source
:nocov: Returned the wrapped exception if one exists, otherwise use ruby's default behavior.
Calls superclass method
# File lib/sequel/exceptions.rb, line 15 def cause wrapped_exception || super end