
    :Qg              
       F    d ddddddddd		Z  ed
de       Z G d de      Zy)                            )	NoTextErrorFormatErrorFileLoadErrorDuplicateLangErrorNeedLoadProfileErrorCantDetectErrorCantOpenTrainDataTrainDataFormatErrorInitParamError	ErrorCode c                   $     e Zd Z fdZd Z xZS )LangDetectExceptionc                 :    t         t        |   |       || _        y N)superr   __init__code)selfr   message	__class__s      ]/var/www/html/answerous/venv/lib/python3.12/site-packages/langdetect/lang_detect_exception.pyr   zLangDetectException.__init__   s    !41':	    c                     | j                   S r   )r   )r   s    r    get_codezLangDetectException.get_code   s    yyr!   )__name__
__module____qualname__r   r#   __classcell__)r   s   @r    r   r      s    r!   r   N)_error_codestyper   	Exceptionr   r   r!   r    <module>r+      sC   
 b,/	) r!   