1 | <?php |
||
7 | class InstagramIdentityProviderException extends IdentityProviderException |
||
8 | { |
||
9 | /** |
||
10 | * Creates client exception from response. |
||
11 | * |
||
12 | * @param ResponseInterface $response |
||
13 | * @param string $data Parsed response data |
||
14 | * |
||
15 | * @return IdentityProviderException |
||
16 | */ |
||
17 | 2 | public static function clientException(ResponseInterface $response, $data) |
|
32 | |||
33 | /** |
||
34 | * Creates oauth exception from response. |
||
35 | * |
||
36 | * @param ResponseInterface $response |
||
37 | * @param string $data Parsed response data |
||
38 | * |
||
39 | * @return IdentityProviderException |
||
40 | */ |
||
41 | 2 | public static function oauthException(ResponseInterface $response, $data) |
|
56 | } |
||
57 |