Check for departure airport restrictions #221
This commit is contained in:
14
app/Exceptions/UserNotAtAirport.php
Normal file
14
app/Exceptions/UserNotAtAirport.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exceptions;
|
||||
|
||||
|
||||
/**
|
||||
* Class UserNotAtAirport
|
||||
* @package App\Exceptions
|
||||
*/
|
||||
class UserNotAtAirport extends InternalError
|
||||
{
|
||||
public const FIELD = 'dpt_airport_id';
|
||||
public const MESSAGE = 'Pilot is not at the departure airport';
|
||||
}
|
||||
Reference in New Issue
Block a user