]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/OStatus/lib/ostatusshadowexception.php
Debugging log fix.
[quix0rs-gnu-social.git] / plugins / OStatus / lib / ostatusshadowexception.php
1 <?php
2
3 if (!defined('GNUSOCIAL')) { exit(1); }
4
5 /**
6  * @package OStatusPlugin
7  * @maintainer Mikael Nordfeldth <mmn@hethane.se>
8  */
9
10 /**
11  * Exception indicating we've got a remote reference to a local user,
12  * not a remote user!
13  *
14  * If we can ue a local profile after all, it's available as $e->profile.
15  */
16 class OStatusShadowException extends Exception
17 {
18     public $profile;
19
20     /**
21      * @param Profile $profile
22      * @param string $message
23      */
24     function __construct(Profile $profile, $message) {
25         $this->profile = $profile;
26         parent::__construct($message);
27     }
28 }