Lines n/a 0 / 0
Functions and Methods n/a 0 / 0
Classes and Traits n/a 0 / 0
Name Lines Functions and Methods CRAP Classes and Traits
AssignedUserListNotEmpty n/a 0 / 0 n/a 0 / 0 0 n/a 0 / 0
1<?php
2
3namespace BO\Zmsbackend\Role\Exception;
4
5/**
6 * Thrown when attempting to delete a role that still has assigned users.
7 */
8class AssignedUserListNotEmpty extends \Exception
9{
10    protected $code = 428;
11
12    protected $message = 'There are still users assigned to this role. ' .
13        'Please remove all user assignments before deleting the role.';
14}