Keeps old one and adds new one as another option

This commit is contained in:
Ty-Omaha
2017-11-06 04:59:14 -05:00
parent 7ed3d4f5f2
commit 2e1284b268
20 changed files with 706 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import ctypes
class PyperclipException(RuntimeError):
pass
class PyperclipWindowsException(PyperclipException):
def __init__(self, message):
message += " (%s)" % ctypes.WinError()
super(PyperclipWindowsException, self).__init__(message)