Exception: ActiveFacts::API::InvalidObjectType
- Inherits:
-
SchemaException
- Object
- StandardError
- ActiveFactsException
- SchemaException
- ActiveFacts::API::InvalidObjectType
- Defined in:
- lib/activefacts/api/exceptions.rb
Instance Method Summary collapse
-
#initialize(vocabulary, klass, reason) ⇒ InvalidObjectType
constructor
A new instance of InvalidObjectType.
Constructor Details
#initialize(vocabulary, klass, reason) ⇒ InvalidObjectType
Returns a new instance of InvalidObjectType.
49 50 51 |
# File 'lib/activefacts/api/exceptions.rb', line 49 def initialize vocabulary, klass, reason super "A constellation over #{vocabulary.name} cannot index instances of #{klass} because it #{reason}" end |