Files
rkm-conectasus-ci-sandbox/api/app/Exceptions/Externo/InvalidCredentialsException.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

17 lines
321 B
PHP

<?php
namespace App\Exceptions\Externo;
use Exception;
use Illuminate\Http\Response;
class InvalidCredentialsException extends Exception
{
public function render()
{
return response()->json([
'message' => 'Usuário e/ou senha incorreto(s).'
], Response::HTTP_UNAUTHORIZED);
}
}