B
    Z                 @   s  d Z ddlZG dd deZG dd deZG dd deZG d	d
 d
eZG dd deZG dd de	Z
G dd deZdZG dd deZdZG dd deZG dd deZdZG dd deZG dd deZG dd deZG d d! d!eZG d"d# d#eZG d$d% d%eZG d&d' d'eZG d(d) d)eZG d*d+ d+eZG d,d- d-eZG d.d/ d/eZG d0d1 d1eZG d2d3 d3eZej d4ed5 dS )6a  
Contains custom errors and warnings.

Errors should derive from Exception or another custom error. Custom errors are
only needed it standard errors, for example ValueError or TypeError, are not
accurate descriptions of the reason for the error.

Warnings should derive from either an existing warning or another custom
warning, and should usually be accompanied by a sting using the format
warning_name_doc that services as a generic message to use when the warning is
raised.
    Nc               @   s   e Zd ZdS )PerfectSeparationErrorN)__name__
__module____qualname__ r   r   >lib/python3.7/site-packages/statsmodels/tools/sm_exceptions.pyr      s   r   c               @   s   e Zd ZdS )MissingDataErrorN)r   r   r   r   r   r   r   r      s   r   c               @   s   e Zd ZdS )X13NotFoundErrorN)r   r   r   r   r   r   r   r	      s   r	   c               @   s   e Zd ZdS )X13ErrorN)r   r   r   r   r   r   r   r
      s   r
   c               @   s   e Zd ZdS )
X13WarningN)r   r   r   r   r   r   r   r   "   s   r   c               @   s   e Zd ZdS )	IOWarningN)r   r   r   r   r   r   r   r   &   s   r   c               @   s   e Zd ZdS )ModuleUnavailableWarningN)r   r   r   r   r   r   r   r   *   s   r   z:
The module {0} is not available. Cannot run in parallel.
c               @   s   e Zd ZdS )ConvergenceWarningN)r   r   r   r   r   r   r   r   4   s   r   z#
Failed to converge on a solution.
c               @   s   e Zd ZdS )CacheWriteWarningN)r   r   r   r   r   r   r   r   =   s   r   c               @   s   e Zd ZdS )IterationLimitWarningN)r   r   r   r   r   r   r   r   A   s   r   z
Maximum iteration reached.
c               @   s   e Zd ZdS )InvalidTestWarningN)r   r   r   r   r   r   r   r   J   s   r   c               @   s   e Zd ZdS )NotImplementedWarningN)r   r   r   r   r   r   r   r   N   s   r   c               @   s   e Zd ZdS )OutputWarningN)r   r   r   r   r   r   r   r   R   s   r   c               @   s   e Zd ZdS )DomainWarningN)r   r   r   r   r   r   r   r   V   s   r   c               @   s   e Zd ZdS )ValueWarningN)r   r   r   r   r   r   r   r   Z   s   r   c               @   s   e Zd ZdS )EstimationWarningN)r   r   r   r   r   r   r   r   ^   s   r   c               @   s   e Zd ZdS )SingularMatrixWarningN)r   r   r   r   r   r   r   r   b   s   r   c               @   s   e Zd ZdS )HypothesisTestWarningN)r   r   r   r   r   r   r   r   f   s   r   c               @   s   e Zd ZdS )InterpolationWarningN)r   r   r   r   r   r   r   r   j   s   r   c               @   s   e Zd ZdS )PrecisionWarningN)r   r   r   r   r   r   r   r   n   s   r   c               @   s   e Zd ZdS )SpecificationWarningN)r   r   r   r   r   r   r   r   r   s   r   c               @   s   e Zd ZdS )HessianInversionWarningN)r   r   r   r   r   r   r   r   v   s   r   c               @   s   e Zd ZdS )ColinearityWarningN)r   r   r   r   r   r   r   r   z   s   r   always)category)!__doc__warnings	Exceptionr   r   r	   r
   Warningr   RuntimeWarningr   r   Zmodule_unavailable_docUserWarningr   Zconvergence_docr   r   Ziteration_limit_docr   r   r   r   r   r   r   r   r   r   r   r   r   simplefilterr   r   r   r   <module>   s8   