Sha256: 175c41339ee57a1f8652a0b0b32bf5329359306baca2e568fc35c9157d80c523

Contents?: true

Size: 274 Bytes

Versions: 7

Compression:

Stored size: 274 Bytes

Contents

module Vnstat
  #
  # An exception that is raised when the specified interface could not be found
  # among the known ones.
  class UnknownInterface < Error
    attr_reader :interface_id

    def initialize(interface_id)
      @interface_id = interface_id
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
vnstat-ruby-1.1.0 lib/vnstat/errors/unknown_interface.rb
vnstat-ruby-1.0.5 lib/vnstat/errors/unknown_interface.rb
vnstat-ruby-1.0.4 lib/vnstat/errors/unknown_interface.rb
vnstat-ruby-1.0.3 lib/vnstat/errors/unknown_interface.rb
vnstat-ruby-1.0.2 lib/vnstat/errors/unknown_interface.rb
vnstat-ruby-1.0.1 lib/vnstat/errors/unknown_interface.rb
vnstat-ruby-1.0.0 lib/vnstat/errors/unknown_interface.rb