Skip to content

Commit 330cc0d

Browse files
committed
[Provider] Introduce Exception\AuthFailed
1 parent 6aa7f94 commit 330cc0d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Exception/AuthFailed.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
/**
3+
* SocialConnect project
4+
* @author: Patsura Dmitry https://github.com/ovr <talk@dmtry.me>
5+
*/
6+
7+
namespace SocialConnect\Provider\Exception;
8+
9+
/**
10+
* This exception is a base exception when we cannot auth user on callback url
11+
*/
12+
abstract class AuthFailed extends \SocialConnect\Common\Exception
13+
{
14+
public function __construct($message = 'Auth failed')
15+
{
16+
parent::__construct($message);
17+
}
18+
}

0 commit comments

Comments
 (0)