# HttpSoft\Emitter exceptions

The HttpSoft\Emitter package exception classes.

# HttpSoft\Emitter\Exception\HeadersAlreadySentException

If the headers have already been sent, the HttpSoft\Emitter\Exception\HeadersAlreadySentException exception will be thrown.

throw HttpSoft\Emitter\Exception\HeadersAlreadySentException::create();

Source code on GitHub.

# HttpSoft\Emitter\Exception\OutputAlreadySentException

If output has been emitted previously, the HttpSoft\Emitter\Exception\OutputAlreadySentException exception will be thrown.

throw HttpSoft\Emitter\Exception\OutputAlreadySentException::create();

Source code on GitHub.