This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exceptions\ExameImagem;
|
||||
|
||||
use Exception;
|
||||
use Illuminate\Http\Response;
|
||||
|
||||
class ExceededCotaAgendamentoException extends Exception
|
||||
{
|
||||
public function render()
|
||||
{
|
||||
return response()->json(
|
||||
json_decode(json_encode(['requires_supervisor' => true]), true),
|
||||
Response::HTTP_OK
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user