gnu-social/plugins/OStatus/lib/feedsubexception.php

14 lines
268 B
PHP
Raw Normal View History

<?php
class FeedSubException extends Exception
{
function __construct($msg=null)
{
$type = get_class($this);
if ($msg) {
parent::__construct("$type: $msg");
} else {
parent::__construct($type);
}
}
}