Exception: Whispr::WhisprError
- Inherits:
-
StandardError
- Object
- StandardError
- Whispr::WhisprError
- Includes:
- Error
- Defined in:
- lib/whispr.rb
Direct Known Subclasses
ArchiveBoundaryExceeded, CorruptWhisprFile, InvalidAggregationMethod, InvalidConfiguration, InvalidTimeInterval, TimestampNotCovered, ValueError
Class Method Summary collapse
Class Method Details
.exception(e) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/whispr.rb', line 9 def self.exception(e) return e if e.nil? || e == self ne = new(e.to_s) ne.set_backtrace e.backtrace if e.respond_to?(:backtrace) ne end |