mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 11:11:31 +00:00
The latest images incorporate all changes previously added by the dockerfiles. The arm image however is still missing/unreliable from the registry and must be built independently.
19 lines
398 B
PHP
19 lines
398 B
PHP
<?php
|
|
|
|
namespace Spatie\Permission\Exceptions;
|
|
|
|
use InvalidArgumentException;
|
|
|
|
class RoleDoesNotExist extends InvalidArgumentException
|
|
{
|
|
public static function named(string $roleName)
|
|
{
|
|
return new static("There is no role named `{$roleName}`.");
|
|
}
|
|
|
|
public static function withId(int $roleId)
|
|
{
|
|
return new static("There is no role with id `{$roleId}`.");
|
|
}
|
|
}
|