Files
rkm-conectasus-ci-sandbox/api/app/Exceptions/ExameLaboratorial/ConflitoJornadaBloqueioException.php
Antonio Lopes dos Santos afec302c3e
All checks were successful
build-api-image / build (push) Successful in 51s
init commit
2026-08-04 16:52:02 -03:00

22 lines
422 B
PHP

<?php
namespace App\Exceptions\ExameLaboratorial;
use Exception;
use Illuminate\Http\Response;
class ConflitoJornadaBloqueioException extends Exception
{
public function __construct()
{
$this->message = 'Bloqueio de jornada conflitante.';
}
public function render()
{
return response()->json([
'message' => $this->message
], Response::HTTP_BAD_REQUEST);
}
}