File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3131use Gitlab \Api \Wiki ;
3232use Gitlab \HttpClient \Builder ;
3333use Gitlab \HttpClient \Plugin \Authentication ;
34- use Gitlab \HttpClient \Plugin \GitlabExceptionThrower ;
34+ use Gitlab \HttpClient \Plugin \ExceptionThrower ;
3535use Gitlab \HttpClient \Plugin \History ;
3636use Http \Client \Common \HttpMethodsClientInterface ;
3737use Http \Client \Common \Plugin \AddHostPlugin ;
@@ -103,7 +103,7 @@ public function __construct(Builder $httpClientBuilder = null)
103103 $ this ->httpClientBuilder = $ builder = $ httpClientBuilder ?? new Builder ();
104104 $ this ->responseHistory = new History ();
105105
106- $ builder ->addPlugin (new GitlabExceptionThrower ());
106+ $ builder ->addPlugin (new ExceptionThrower ());
107107 $ builder ->addPlugin (new HistoryPlugin ($ this ->responseHistory ));
108108 $ builder ->addPlugin (new HeaderDefaultsPlugin ([
109109 'User-Agent ' => self ::USER_AGENT ,
Original file line number Diff line number Diff line change 2222 *
2323 * @internal
2424 */
25- final class GitlabExceptionThrower implements Plugin
25+ final class ExceptionThrower implements Plugin
2626{
2727 /**
2828 * Handle the request and return the response coming from the next callable.
You can’t perform that action at this time.
0 commit comments