mirror of
https://github.com/manualdousuario/marreta.git
synced 2026-04-30 12:30:23 +00:00
extends urlanalyzer
This commit is contained in:
parent
9ffd8260fd
commit
91f58e61c7
14 changed files with 772 additions and 781 deletions
26
app/inc/URLAnalyzer/URLAnalyzerException.php
Normal file
26
app/inc/URLAnalyzer/URLAnalyzerException.php
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<?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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue