RoleDoesNotExist
class RoleDoesNotExist extends InvalidArgumentException
Methods
static RoleDoesNotExist
named(string $roleName, string|null $guardName)
Create a new role does not exist exception for a name.
static RoleDoesNotExist
withId(int|string $roleId, string|null $guardName)
Create a new role does not exist exception for an id.
Details
at line 14
static RoleDoesNotExist
named(string $roleName, string|null $guardName)
Create a new role does not exist exception for a name.
at line 25
static RoleDoesNotExist
withId(int|string $roleId, string|null $guardName)
Create a new role does not exist exception for an id.