# Replay Errors You can replay Errors that happened in production if you serialize them and store them to later replay in a development Whoops: ```php $serialized_exception = serialize(new Exception('Something has happened!')); $whoops = new \Whoops\Run; $whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler); $whoops->register(); $whoops->handleException(unserialize($serialized_exception)); ``` https://github.com/filp/whoops/issues/623
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
API Documentation.md | File | 14.83 KB | 0644 |
|
Framework Integration.md | File | 1.02 KB | 0644 |
|
Open Files In An Editor.md | File | 2.09 KB | 0644 |
|
Replay Errors.md | File | 463 B | 0644 |
|