Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Type Error thrown in ZF3 #225

Closed
chibuzoro opened this issue Jul 28, 2016 · 1 comment
Closed

Type Error thrown in ZF3 #225

chibuzoro opened this issue Jul 28, 2016 · 1 comment
Assignees

Comments

@chibuzoro
Copy link

chibuzoro commented Jul 28, 2016

I get the following error each time I brake something in my code.

Fatal Error: Uncaught TypeError: Argument 1 passed to ZendDeveloperTools\Exception\SerializableException::__construct() must be an instance of Exception, instance of Error given called in .../vendor/zendframework/zend-developer-tools/src/Collector/ExceptionCollector.php on line 45 and defined in .../vendor/zendframework/zend-developer-tools/src/Exception/SerializableException.php on line 26

The culprit appears to be a request for "\Exception" type, i worked around this by changing to "\Throwable" on .../vendor/zendframework/zend-developer-tools/src/Exception/SerializableException.php

@Ocramius
Copy link
Member

Dupe of #217

@Ocramius Ocramius self-assigned this Jul 28, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants