Class: Mongo::Error::MissingResumeToken
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Error
|
|
|
Instance Chain:
self,
Error
|
|
| Inherits: |
Error
|
| Defined in: | lib/mongo/error/missing_resume_token.rb |
Overview
Raised if a change stream document is returned without a resume token.
Constant Summary
-
MESSAGE =
# File 'lib/mongo/error/missing_resume_token.rb', line 26
The error message.
'Cannot provide resume functionality when the resume token is missing'
Class Method Summary
-
.new ⇒ MissingResumeToken
constructor
Create the new exception.
Constructor Details
.new ⇒ MissingResumeToken
Create the new exception.
# File 'lib/mongo/error/missing_resume_token.rb', line 34
def initialize super(MESSAGE) end