adicionada documentação na nova estrutura do urlanalyzer

This commit is contained in:
Renan Bernordi 2025-01-30 01:45:29 -03:00
parent 91f58e61c7
commit db4e512e63
7 changed files with 120 additions and 3 deletions

View file

@ -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];