OpenXE/classes/Modules/TaxdooApi/Exception/UnsufficientPermissionException.php

16 lines
343 B
PHP
Raw Normal View History

2021-05-21 08:49:41 +02:00
<?php
namespace Xentral\Modules\TaxdooApi\Exception;
class UnsufficientPermissionException extends TaxdooFatalExcepion
{
/**
* @param string $key
*
* @return UnsufficientPermissionException
*/
public static function fromKey($key)
{
return new self("Nicht ausreichende Berechtigungen: {$key}");
}
}