You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-17Lines changed: 18 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,10 +122,11 @@ For more information about creating your own renders and examples of rendering e
122
122
123
123
### Using a factory to create a response
124
124
125
-
`Yiisoft\ErrorHandler\Factory\ThrowableResponseFactory` renders `Throwable` object and produces a response according to the content type provided by the client.
125
+
`Yiisoft\ErrorHandler\ThrowableResponseFactory` renders `Throwable` object and produces a response according to the content type provided by the client.
126
126
127
127
```php
128
-
use Yiisoft\ErrorHandler\Factory\ThrowableResponseFactory;
128
+
use Yiisoft\ErrorHandler\RendererProvider;
129
+
use Yiisoft\ErrorHandler\ThrowableResponseFactory;
129
130
130
131
/**
131
132
* @var \Throwable $throwable
@@ -135,27 +136,27 @@ use Yiisoft\ErrorHandler\Factory\ThrowableResponseFactory;
0 commit comments