Exception: Dataverse::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Dataverse::Error
- Defined in:
- lib/dataverse/errors.rb
Direct Known Subclasses
Instance Method Summary collapse
- #backtrace ⇒ Object
- #cause ⇒ Object
-
#initialize(msg, backtrace: nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(msg, backtrace: nil) ⇒ Error
Returns a new instance of Error.
6 7 8 9 |
# File 'lib/dataverse/errors.rb', line 6 def initialize(msg, backtrace: nil) @backtrace = backtrace super(msg) end |
Instance Method Details
#backtrace ⇒ Object
11 12 13 14 |
# File 'lib/dataverse/errors.rb', line 11 def backtrace return @backtrace if @backtrace super end |
#cause ⇒ Object
16 17 18 |
# File 'lib/dataverse/errors.rb', line 16 def cause nil end |