Sha256: 56abec4b18c5756e0706ea371e041255968eda6a83783942b15046de5abc3e37

Contents?: true

Size: 233 Bytes

Versions: 1

Compression:

Stored size: 233 Bytes

Contents

module Pwned
  class Error < StandardError
    attr_reader :original_error

    def initialize(message, original_error)
      @original_error = original_error
      super(message)
    end
  end

  class TimeoutError < Error
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pwned-1.0.0 lib/pwned/error.rb