Sha256: a5900214230f38aa1b897e7a18872c61fea9959d7f35035b777d68b99ca18553
Contents?: true
Size: 390 Bytes
Versions: 1
Compression:
Stored size: 390 Bytes
Contents
module NightcrawlerSwift module Exceptions class BaseError < StandardError attr_accessor :original_exception def initialize exception super(exception.message) @original_exception = exception end end class ConnectionError < BaseError; end class NotFoundError < BaseError; end class ConfigurationError < StandardError; end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nightcrawler_swift-0.3.0 | lib/nightcrawler_swift/exceptions.rb |