laywerrobot/lib/python3.6/site-packages/pandas/io/clipboard/exceptions.py

13 lines
279 B
Python
Raw Normal View History

2020-08-27 21:55:39 +02:00
import ctypes
class PyperclipException(RuntimeError):
pass
class PyperclipWindowsException(PyperclipException):
def __init__(self, message):
message += " ({err})".format(err=ctypes.WinError())
super(PyperclipWindowsException, self).__init__(message)