Exception: CouchbaseOrm::Error
- Inherits:
-
StandardError
- Object
- StandardError
- CouchbaseOrm::Error
- Defined in:
- lib/couchbase-orm/error.rb
Direct Known Subclasses
DocumentNotFound, EmptyNotAllowed, RecordExists, RecordInvalid, TypeMismatchError
Defined Under Namespace
Classes: DocumentNotFound, EmptyNotAllowed, RecordExists, RecordInvalid, TypeMismatchError
Instance Attribute Summary collapse
-
#record ⇒ Object
readonly
Returns the value of attribute record.
Instance Method Summary collapse
-
#initialize(message = nil, record = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message = nil, record = nil) ⇒ Error
Returns a new instance of Error.
8 9 10 11 |
# File 'lib/couchbase-orm/error.rb', line 8 def initialize( = nil, record = nil) @record = record super() end |
Instance Attribute Details
#record ⇒ Object (readonly)
Returns the value of attribute record.
6 7 8 |
# File 'lib/couchbase-orm/error.rb', line 6 def record @record end |