mirror of
https://github.com/manualdousuario/marreta.git
synced 2025-09-01 02:00:10 +00:00
26 lines
540 B
PHP
26 lines
540 B
PHP
<?php
|
|
|
|
namespace Inc\URLAnalyzer;
|
|
|
|
class URLAnalyzerException extends \Exception
|
|
{
|
|
private $errorType;
|
|
private $additionalInfo;
|
|
|
|
public function __construct($message, $code, $errorType, $additionalInfo = '')
|
|
{
|
|
parent::__construct($message, $code);
|
|
$this->errorType = $errorType;
|
|
$this->additionalInfo = $additionalInfo;
|
|
}
|
|
|
|
public function getErrorType()
|
|
{
|
|
return $this->errorType;
|
|
}
|
|
|
|
public function getAdditionalInfo()
|
|
{
|
|
return $this->additionalInfo;
|
|
}
|
|
}
|