Skip to content

Conversation

@yashmika
Copy link

"Throwable" catches both internal PHP errors and exceptions. "Exception" type hint doesn't catch for example a PHP error like "Attempted to call an undefined method name ....." while "Throwable" does.

"Throwable" catches both internal PHP errors and exceptions. "Exception" type hint doesn't catch for example a PHP error like "Attempted to call an undefined method name ....." while "Throwable" does.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant