Sha256: 42869114deb111207afff7af69a952e70b5e6e8f2ec856e7e03aafb5b181dc08

Contents?: true

Size: 196 Bytes

Versions: 5

Compression:

Stored size: 196 Bytes

Contents

module Semlogr
  class Error < StandardError
  end

  class ComponentNotRegisteredError < Error
    def initialize(type, key)
      super(":#{key} is not a registered :#{type}")
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
semlogr-0.3.0 lib/semlogr/error.rb
semlogr-0.2.3 lib/semlogr/error.rb
semlogr-0.2.2 lib/semlogr/error.rb
semlogr-0.2.1 lib/semlogr/error.rb
semlogr-0.2.0 lib/semlogr/error.rb