Explorer
home
/
zoteqbgb
/
public_html
/
app
/
Libraries
Location:
/home/zoteqbgb/public_html/app/Libraries
Root path:
/home/zoteqbgb/public_html/config/676626
Editing: QueryExceptionLibrary.php
<?php namespace App\Libraries; use App\Models\ProductVariation; use App\Models\User; use Carbon\Carbon; use Exception; use Illuminate\Http\JsonResponse; use Illuminate\Support\Facades\Auth; use JetBrains\PhpStorm\ArrayShape; use JetBrains\PhpStorm\Pure; use Smartisan\Settings\Facades\Settings; class QueryExceptionLibrary { /** * @param Exception $e * @return string */ public static function message(Exception $e): string { if (isset($e->errorInfo[1]) && $e->errorInfo[1] === 1451) { return trans('all.message.resource_already_used'); } else { return $e->getMessage(); } } }
Save maftirs
Upload
Start Upload
New File
Create File
New Folder
Create Folder
Directory Contents
Name
Size
Perms
Modified
Actions
AppLibrary.php
12,424 bytes
0644
2025-04-25 02:11
âï¸
ðï¸
Rename
QueryExceptionLibrary.php
690 bytes
0644
2025-04-25 02:11
âï¸
ðï¸
Rename
Chang
Apply