Backend changes separating id from pilot_id
This commit is contained in:
9
app/Exceptions/UserPilotIdExists.php
Normal file
9
app/Exceptions/UserPilotIdExists.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exceptions;
|
||||
|
||||
class UserPilotIdExists extends InternalError
|
||||
{
|
||||
public const FIELD = 'pilot_id';
|
||||
public const MESSAGE = 'A user with this pilot ID already exists';
|
||||
}
|
||||
Reference in New Issue
Block a user