PHP Exceptions\Collection Namespace

Classes

Name Description
EmptyException Use this exception when an operation on a collection cannot be achieved because the array is already empty.
FullException Use this exception when an operation on a collection cannot be achieved because the array has already reached it's limit and cannot accept more data.
KeyAlreadyExistsException Use this exception when an operation on a collection tries to add an element using a key that already exists in the collection of items.
KeyNotFoundException Use this exception when an operation on a collection tries to retrieve an element using a key that does not exist in the collection of items.
ReadOnlyArrayException Use this exception when an operation on a collection that is locked/read-only tries to modify the collection of items.
ReadOnlyArrayItemException Use this exception when an operation on a collection item that is locked/read-only tries to modify the item in question.