Error on invalid stream

If a stream is not available or deleted the construction of the StreamFeed should be prevented and throw an exception that can be handled.

Occured error:
Catchable fatal error: Argument 1 passed to EventStore\StreamFeed\StreamFeed::__construct() must be of the type array, null given in EventStore line 236
can we provide some constants for http codes?