Skip to content

Conversation

@mohsin
Copy link

@mohsin mohsin commented Sep 2, 2020

Using Exception as IS gives the error:

<b>Fatal error</b>:  Uncaught Error: Class 'paytm\paytmchecksum\Exception' not found in vendor/paytm/paytmchecksum/paytmchecksum/PaytmChecksum.php:56

Because inside a namespace the class tries to refer to it's own package Reference.

Using Exception as IS gives the error:
```
<b>Fatal error</b>:  Uncaught Error: Class 'paytm\paytmchecksum\Exception' not found in vendor/paytm/paytmchecksum/paytmchecksum/PaytmChecksum.php:56
```
Because inside a namespace the class tries to refer to it's own package [Reference](https://stackoverflow.com/a/57898948).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant