Sha256: b340e654cbab268b43a24dd3f72f30113ecf6578165041e1e59013ec11b807a5

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

# frozen_string_literal: true

module Duckface
  module Errors
    # Raised when a class does not implement a method
    class InterfaceMethodNotImplementedError < NotImplementedError; end
    # Raised when an implementation method does not have the same signature
    # as the interface
    class ImplementationSignatureIncorrectError < NotImplementedError; end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
duckface-interfaces-0.0.2 lib/duckface/errors.rb
duckface-interfaces-0.0.1 lib/duckface/errors.rb