
    Ef                     ^    d Z  G d de          Z G d de          Z G d de          ZdS )z
    pyexcel_io.exceptions
    ~~~~~~~~~~~~~~~~~~~~~~

    all possible exceptions

    :copyright: (c) 2014-2022 by Onni Software Ltd.
    :license: New BSD License, see LICENSE for more details
c                       e Zd ZdZdS )NoSupportingPluginFoundz+raised when an known file extension is seenN__name__
__module____qualname____doc__     W/var/www/ffwdstore.be/apps/py-env/lib/python3.11/site-packages/pyexcel_io/exceptions.pyr   r              55Dr
   r   c                       e Zd ZdZdS )(SupportingPluginAvailableButNotInstalledz+raised when a known plugin is not installedNr   r	   r
   r   r   r      r   r
   r   c                   "     e Zd ZdZ fdZ xZS )IntegerAccuracyLossErrora  
    When an interger is greater than 999999999999999, ods loses its accuracy.

    from pyexcel import Sheet, get_sheet
    s = Sheet()
    s[0,0] = 999999999999999  # 15 '9's
    print(s)
    s.save_as('abc.ods')
    b=get_sheet(file_name='abc.ods')
    b[0,0] == s[0,0]

    s = Sheet()
    s[0,0] = 9999999999999999 # 16 '9's
    print(s)
    s.save_as('abc.ods')
    b=get_sheet(file_name='abc.ods')
    b[0,0] != s[0,0]
    c                 n    |dz   dz   dz   }t          t          |                               |           d S )N
z;In order to keep its accuracy, please save as string. Then z?convert to int, long or float after the value will be read back)superr   __init__)selfmessagecustom_message	__class__s      r   r   z!IntegerAccuracyLossError.__init__,   sO    KL PP 	 	&--66~FFFFFr
   )r   r   r   r   r   __classcell__)r   s   @r   r   r      sK         &G G G G G G G G Gr
   r   N)r   	Exceptionr   r   r   r	   r
   r   <module>r      s    	 	 	 	 	i 	 	 		 	 	 	 	y 	 	 	G G G G Gy G G G G Gr
   