Class: Mongo::Error::MaxBSONSize
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Error
|
|
|
Instance Chain:
self,
Error
|
|
| Inherits: |
Error
|
| Defined in: | lib/mongo/error/max_bson_size.rb |
Overview
Exception that is raised when trying to serialize a document that exceeds max BSON object size.
Constant Summary
-
MESSAGE =
# File 'lib/mongo/error/max_bson_size.rb', line 27
The message is constant.
'The document exceeds maximum allowed BSON size'
Class Method Summary
-
.new(max_size_or_msg = nil) ⇒ MaxBSONSize
constructor
Instantiate the new exception.
Constructor Details
.new(max_size_or_msg = nil) ⇒ MaxBSONSize
Instantiate the new exception.