HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: /var/www/javago-portal-updates/app/Exceptions/ResetPasswordAndPldPasswordShouldNotSame.php
<?php

namespace App\Exceptions;

use Exception;
use Illuminate\Http\JsonResponse;
use Throwable;

class ResetPasswordAndPldPasswordShouldNotSame extends Exception
{
}
    // /**
    //  * @var
    //  */
    // public $message;
    // public $data;
    // /**
    //  * GeneralException constructor.
    //  *
    //  * @param string $message
    //  * @param int $code
    //  * @param Throwable|null $previous
    //  * @param array|null $data
    //  */
    // public function __construct(string $message = '', int $code = 0, Throwable $previous = null, ?array $data = [])
    // {
    //     $this->data = $data;
    //     parent::__construct($message, $code, $previous);
    // }

    // public function getUserMessage()
    // {
    //     return $this->message;
    // }

    //     /**
    //  * Report the exception.
    //  */
    // public function report(): JsonResponse
    // {
    //     $response = [
    //         'status' => $this->code,
    //         'message' => $this->message,
    //         'data'=>$this->data
    //     ];
    //     return response()->json($response);
    // }

    // /**
    //  * Render the exception into an HTTP response.
    //  *
    //  * @return JsonResponse
    //  */
    // public function render(): JsonResponse
    // {
    //     $response = [
    //         'status' =>$this->code,
    //         'message' => $this->message
    //     ];
    //     if($this->data){
    //         $response['data']=$this->data;
    //     }
    //     return response()->json($response);
    // }