Class: Mongo::Error::ClosedStream
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Error
|
|
|
Instance Chain:
self,
Error
|
|
| Inherits: |
Error
|
| Defined in: | lib/mongo/error/closed_stream.rb |
Overview
Raised if the Grid::FSBucket::Stream object is closed and an operation is attempted.
Class Method Summary
-
.new ⇒ ClosedStream
constructor
Create the new exception.
Constructor Details
.new ⇒ ClosedStream
Create the new exception.
# File 'lib/mongo/error/closed_stream.rb', line 29
def initialize super('The stream is closed and cannot be written to or read from.') end