ó
º9—^c           @   s   d  Z  d „  Z d S(   s)   Error classes for PostgreSQL error codes
c         C   s   d d l  m } | |  S(   sj   Lookup an error code and return its exception class.

    Raise `!KeyError` if the code is not found.
    iÿÿÿÿ(   t   sqlstate_errors(   t   psycopg2._psycopgR    (   t   codeR    (    (    s1   /tmp/pip-unpacked-wheel-WyN9Ij/psycopg2/errors.pyt   lookup   s    N(   t   __doc__R   (    (    (    s1   /tmp/pip-unpacked-wheel-WyN9Ij/psycopg2/errors.pyt   <module>   s   