Method: Semlogr::ComponentNotRegisteredError#initialize

Defined in:
lib/semlogr/error.rb

#initialize(type, key) ⇒ ComponentNotRegisteredError

Returns a new instance of ComponentNotRegisteredError.



8
9
10
# File 'lib/semlogr/error.rb', line 8

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