class Cuniculus::Error

Cuniculus-specific exceptions

Attributes

wrapped_exception[RW]

If the Cuniculus exception wraps an underlying exception, the latter is held here.

Public Instance Methods

cause() click to toggle source

Underlying exception `cause`

@return [Exception#cause]

Calls superclass method
   # File lib/cuniculus/exceptions.rb
25 def cause
26   wrapped_exception || super
27 end
message() click to toggle source
   # File lib/cuniculus/exceptions.rb
29 def message
30   wrapped_exception&.message || to_s
31 end