mirror of
https://github.com/manualdousuario/marreta.git
synced 2026-04-30 12:30:23 +00:00
adicionada documentação na nova estrutura do urlanalyzer
This commit is contained in:
parent
91f58e61c7
commit
db4e512e63
7 changed files with 120 additions and 3 deletions
|
|
@ -1,4 +1,8 @@
|
|||
<?php
|
||||
/**
|
||||
* Standardized error handling for URL analysis
|
||||
* Converts errors to user-friendly messages
|
||||
*/
|
||||
|
||||
namespace Inc\URLAnalyzer;
|
||||
|
||||
|
|
@ -6,6 +10,7 @@ use Inc\Language;
|
|||
|
||||
class URLAnalyzerError extends URLAnalyzerBase
|
||||
{
|
||||
/** Throws formatted exception with translated message */
|
||||
public function throwError($errorType, $additionalInfo = '')
|
||||
{
|
||||
$errorConfig = $this->errorMap[$errorType];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue