1
0
mirror of https://github.com/OpenXE-org/OpenXE.git synced 2025-03-01 04:29:24 +01:00
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}");
}
}