Sha256: 8496359f885aa7bb9536c7d7e7d1cc38a75b8a4fd4182f7a8af01844ac159c25

Contents?: true

Size: 474 Bytes

Versions: 2

Compression:

Stored size: 474 Bytes

Contents

require "developer_exceptions/version"

module DeveloperExceptions
  module Error; end

  class NotYet < NotImplementedError
    include Error
    def initialize(arg = "Not yet implemented")
      super
    end
  end

  class NotThis < ScriptError
    include Error
    def initialize(arg = "Abstract virtual method called")
      super
    end
  end

  class NotHere < ScriptError
    include Error
    def initialize(arg = "Unexpected case")
      super
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
developer_exceptions-0.2.0 lib/developer_exceptions.rb
developer_exceptions-0.1.0 lib/developer_exceptions.rb