Exception: ActiveFacts::API::MissingMandatoryRoleValueException
- Inherits:
-
RuntimeException
- Object
- StandardError
- ActiveFactsException
- RuntimeException
- ActiveFacts::API::MissingMandatoryRoleValueException
- Defined in:
- lib/activefacts/api/exceptions.rb
Instance Method Summary collapse
-
#initialize(klass, role) ⇒ MissingMandatoryRoleValueException
constructor
A new instance of MissingMandatoryRoleValueException.
Constructor Details
#initialize(klass, role) ⇒ MissingMandatoryRoleValueException
Returns a new instance of MissingMandatoryRoleValueException.
79 80 81 |
# File 'lib/activefacts/api/exceptions.rb', line 79 def initialize klass, role super "A #{role.counterpart.object_type.basename} is required to satisfy the #{role.name.inspect} role of #{klass.basename}" end |