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