mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-27 23:20:28 +01:00
16 lines
343 B
PHP
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}");
|
||
|
}
|
||
|
}
|