Exception: Protobuf::Mongoid::FieldTransformerError
- Inherits:
-
ProtobufMongoidError
- Object
- StandardError
- ProtobufMongoidError
- Protobuf::Mongoid::FieldTransformerError
- Defined in:
- lib/protobuf/mongoid/errors.rb
Overview
Raised by ‘field_from_document` when the convert method given not callable.
Instance Method Summary collapse
Instance Method Details
#message ⇒ Object
20 21 22 |
# File 'lib/protobuf/mongoid/errors.rb', line 20 def "Field transformers must be called with a callable or block!" end |