OpenXE/classes/Modules/TaxdooApi/Exception/UnsufficientPermissionException.php
2021-05-21 08:49:41 +02:00

16 lines
343 B
PHP

<?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}");
}
}