Sha256: 35e98050b9bc52828bb1f76d9cc65f40b0ca740ff8673d7dc4f9deca0d4dfdaa

Contents?: true

Size: 334 Bytes

Versions: 3

Compression:

Stored size: 334 Bytes

Contents

module Ddr::Antivirus

  class Error < ::StandardError; end

  class MaxFileSizeExceeded < Error; end

  class ResultError < Error
    attr_reader :result
    def initialize(result)
      super(result.to_s)
      @result = result
    end
  end

  class VirusFoundError < ResultError; end

  class ScannerError < ResultError; end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ddr-antivirus-3.0.0 lib/ddr/antivirus/exceptions.rb
ddr-antivirus-3.0.0.rc1 lib/ddr/antivirus/exceptions.rb
ddr-antivirus-2.2.0 lib/ddr/antivirus/exceptions.rb