Exception: CoAspects::AspectNotFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/co_aspects/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(aspect, method) ⇒ AspectNotFoundError

Returns a new instance of AspectNotFoundError.



3
4
5
# File 'lib/co_aspects/errors.rb', line 3

def initialize(aspect, method)
  super("Aspect `#{aspect}` for annotation `#{method}` does not exist.")
end