class NightcrawlerSwift::Exceptions::BaseError

Attributes

original_exception[RW]

Public Class Methods

new(exception) click to toggle source
Calls superclass method
# File lib/nightcrawler_swift/exceptions.rb, line 7
def initialize exception
  super(exception.is_a?(String) ? exception : exception.message)
  @original_exception = exception
end