Exception: Granite::Action::SubjectNotFoundError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/granite/action/subject.rb

Instance Method Summary collapse

Constructor Details

#initialize(action_class) ⇒ SubjectNotFoundError

Returns a new instance of SubjectNotFoundError.



4
5
6
# File 'lib/granite/action/subject.rb', line 4

def initialize(action_class)
  super "Unable to initialize #{action_class} without subject provided"
end