Emit coeffect violation exception instead of generic exception
commitad9fe9f989fcd9d874b87d000f50b6bde0686480
authorOguz Ulgen <oulgen@fb.com>
Wed, 19 Jan 2022 06:48:13 +0000 (18 22:48 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 19 Jan 2022 06:49:39 +0000 (18 22:49 -0800)
treeddc5c54fffbaed844395dc9d0e0df51773c249f0
parentf5125dd9d5188b3281d2bc18db012e3d029db58c
Emit coeffect violation exception instead of generic exception

Reviewed By: ricklavoie

Differential Revision: D33647876

fbshipit-source-id: f782c7fb687fc2166b2b49ce16d3669f85970d57
hphp/hack/hhi/exceptions.hhi
hphp/runtime/vm/runtime.cpp
hphp/system/php/spl/exceptions/exceptions.php
hphp/system/systemlib.cpp
hphp/system/systemlib.h