module Mongo::Error::ChangeStreamResumable

A module signifying the error will always cause change stream to resume once.

@since 2.6.0

Public Instance Methods

change_stream_resumable?() click to toggle source

Can the change stream on which this error occurred be resumed, provided the operation that triggered this error was a getMore?

@example Is the error resumable for the change stream?

error.change_stream_resumable?

@return [ true, false ] Whether the error is resumable.

@since 2.6.0

# File lib/mongo/error/change_stream_resumable.rb, line 32
def change_stream_resumable?
  true
end