B
    q\\	                 @   s   d Z G dd deZG dd deeZG dd deZG dd deeZG d	d
 d
eZG dd de	Z
G dd deZG dd dZe ZdS )a   
This module contains errors/exceptions and warnings of general use for
astropy. Exceptions that are specific to a given subpackage should *not* be
here, but rather in the particular subpackage. Exception is the _erfa module
as we rather have the users import those exceptions from here.
c               @   s   e Zd ZdZdS )AstropyWarningz
    The base warning class from which all Astropy warnings should inherit.

    Any warning inheriting from this class is handled by the Astropy logger.
    N)__name__
__module____qualname____doc__ r   r   7lib/python3.7/site-packages/astropy/utils/exceptions.pyr   
   s   r   c               @   s   e Zd ZdZdS )AstropyUserWarningzg
    The primary warning class for Astropy.

    Use this if you do not need a specific sub-class.
    N)r   r   r   r   r   r   r   r   r      s   r   c               @   s   e Zd ZdZdS )AstropyDeprecationWarningz;
    A warning class to indicate a deprecated feature.
    N)r   r   r   r   r   r   r   r   r	      s   r	   c               @   s   e Zd ZdZdS ) AstropyPendingDeprecationWarningzF
    A warning class to indicate a soon-to-be deprecated feature.
    N)r   r   r   r   r   r   r   r   r
       s   r
   c               @   s   e Zd ZdZdS ))AstropyBackwardsIncompatibleChangeWarningz
    A warning class indicating a change in astropy that is incompatible
    with previous versions.

    The suggested procedure is to issue this warning for the version in
    which the change occurs, and remove it for all following versions.
    N)r   r   r   r   r   r   r   r   r   &   s   r   c               @   s   e Zd ZdZdS )	ErfaErroraE  
    A class for errors triggered by ERFA functions (status codes < 0)

    Note: this class should *not* be referenced by fully-qualified name, because
    it may move to ERFA in a future version.  In a future such move it will
    still be imported here as an alias, but the true namespace of the class may
    change.
    N)r   r   r   r   r   r   r   r   r   0   s   r   c               @   s   e Zd ZdZdS )ErfaWarningaG  
    A class for warnings triggered by ERFA functions (status codes > 0)

    Note: this class should *not* be referenced by fully-qualified name, because
    it may move to ERFA in a future version.  In a future such move it will
    still be imported here as an alias, but the true namespace of the class may
    change.
    N)r   r   r   r   r   r   r   r   r   ;   s   r   c               @   s   e Zd ZdZdd ZdS )_NoValuezSpecial keyword value.

    This class may be used as the default value assigned to a
    deprecated keyword in order to check if it has been given a user
    defined value.
    c             C   s   dS )Nz astropy.utils.exceptions.NoValuer   )selfr   r   r   __repr__M   s    z_NoValue.__repr__N)r   r   r   r   r   r   r   r   r   r   F   s   r   N)r   Warningr   UserWarningr   r	   PendingDeprecationWarningr
   r   
ValueErrorr   r   r   ZNoValuer   r   r   r   <module>   s   
