BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
public_html
/
app.imagivibe.com
/
app
/
Exceptions
📤 Upload
📝 New File
📁 New Folder
Close
Editing: MagicResponseApiRuntimeException.php
<?php declare(strict_types=1); namespace App\Exceptions; use RuntimeException; class MagicResponseApiRuntimeException extends RuntimeException { protected array $data; public function __construct(array $data, int $code = 400, ?RuntimeException $previous = null) { parent::__construct($data['message'], $code, $previous); $this->data = $data; } public function getData(): array { return $this->data; } }
Save
Cancel