Sha256: dca03c2543121b773236afd442aa2a48da67c88e499842a78f5dce2cbc84b451

Contents?: true

Size: 466 Bytes

Versions: 2

Compression:

Stored size: 466 Bytes

Contents

module MakeWatchable
  module Exceptions
    class AlreadyWatchingError < StandardError
      def initialize
        super "The watcher is already watching this watchable."
      end
    end

    class NotWatchingError < StandardError
      def initialize
        super "The watcher is not watching the watchable."
      end
    end

    class InvalidWatchableError < StandardError
      def initialize
        super "Invalid watchable."
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
make_watchable-0.0.3 lib/make_watchable/exceptions.rb
make_watchable-0.0.2 lib/make_watchable/exceptions.rb