Mongo
PHP Manual

The MongoGridFSException class

Introduction

Thrown when there are errors reading or writing files to or from the database.

Class synopsis

MongoGridFSException
extends MongoException {
}

Mongo
PHP Manual