| Class | Mongo::Error::MissingFileChunk |
| In: |
lib/mongo/error/missing_file_chunk.rb
|
| Parent: | Error |
Raised if the next chunk when reading from a GridFSBucket does not have the expected sequence number (n).
@since 2.1.0
Create the new exception.
@example Create the new exception.
Mongo::Error::MissingFileChunk.new(expected_n, chunk)
@param [ Integer ] expected_n The expected index value. @param [ Grid::File::Chunk ] chunk The chunk read from GridFS.
@since 2.1.0