aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/pandas/py2/pandas/io/clipboard/exceptions.py
blob: d948ad414327ca59f7e55e174672b9236f5594b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import ctypes


class PyperclipException(RuntimeError):
    pass


class PyperclipWindowsException(PyperclipException):

    def __init__(self, message):
        message += " ({err})".format(err=ctypes.WinError())
        super(PyperclipWindowsException, self).__init__(message)