Closed jsor closed 5 years ago
Good point, i will try to rework the docs 👍 . But we must make sure to not recommend \Exception
as type-declarations in callbacks. Used eg. in otherwise()
callbacks, this might lead to uncaught \Error
's.
I concur, adding Throwable
as the type hint and adding explicit docs for Exception
seems to be the best solution here :+1:
@clue added a short paragraph about Throwable
vs Exception
.
:tada: !
Follow-up for #138.