Submit
Path:
~
/
/
opt
/
psa
/
admin
/
plib
/
modules
/
monitoring
/
vendor
/
brick
/
varexporter
/
src
/
File Content:
ExportException.php
<?php declare (strict_types=1); namespace PleskMonitoring\Brick\VarExporter; use Throwable; final class ExportException extends \Exception { /** * @param string $message * @param string[] $path * @param Throwable|null $previous */ public function __construct(string $message, array $path, ?Throwable $previous = null) { if ($path) { $message = 'At ' . self::pathToString($path) . ': ' . $message; } parent::__construct($message, 0, $previous); } /** * Returns a string representation of the given path. * * @param string[] $path * * @return string */ public static function pathToString(array $path) : string { return '[' . \implode('][', $path) . ']'; } }
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
Internal
---
0755
ExportException.php
799 bytes
0644
VarExporter.php
3470 bytes
0644
N4ST4R_ID | Naxtarrr