class Mongo::Error::MissingResumeToken

Raised if a change stream document is returned without a resume token.

@since 2.5.0

Constants

MESSAGE

The error message.

@since 2.5.0

Public Class Methods

new() click to toggle source

Create the new exception.

@example Create the new exception.

Mongo::Error::MissingResumeToken.new

@since 2.5.0

Calls superclass method Mongo::Error::new
# File lib/mongo/error/missing_resume_token.rb, line 34
def initialize
  super(MESSAGE)
end