mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-21 07:42:21 +00:00
Keeps old one and adds new one as another option
This commit is contained in:
11
tools/py-midi2piano/pyperclip/exceptions.py
Normal file
11
tools/py-midi2piano/pyperclip/exceptions.py
Normal 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)
|
||||
Reference in New Issue
Block a user