Class Sequel::Error
In: lib/sequel/exceptions.rb
Parent: ::StandardError

The default exception class for exceptions raised by Sequel. All exception classes defined by Sequel are descendants of this class.

Methods

cause  

Attributes

wrapped_exception  [RW]  If this exception wraps an underlying exception, the underlying exception is held here.

Public Instance methods

Returned the wrapped exception if one exists, otherwise use ruby‘s default behavior.

[Source]

    # File lib/sequel/exceptions.rb, line 14
14:       def cause
15:         wrapped_exception || super
16:       end

[Validate]