Initial Commit
This commit is contained in:
12
dependencies/remotelyliving/php-dns/src/Exceptions/Exception.php
vendored
Normal file
12
dependencies/remotelyliving/php-dns/src/Exceptions/Exception.php
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace WP_Ultimo\Dependencies\RemotelyLiving\PHPDNS\Exceptions;
|
||||
|
||||
use JsonSerializable;
|
||||
class Exception extends \Exception implements JsonSerializable
|
||||
{
|
||||
public function jsonSerialize() : array
|
||||
{
|
||||
return ['message' => $this->getMessage(), 'code' => $this->getCode(), 'file' => $this->getFile(), 'line' => $this->getLine(), 'trace' => $this->getTraceAsString()];
|
||||
}
|
||||
}
|
7
dependencies/remotelyliving/php-dns/src/Exceptions/InvalidArgumentException.php
vendored
Normal file
7
dependencies/remotelyliving/php-dns/src/Exceptions/InvalidArgumentException.php
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace WP_Ultimo\Dependencies\RemotelyLiving\PHPDNS\Exceptions;
|
||||
|
||||
final class InvalidArgumentException extends Exception
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user