summaryrefslogtreecommitdiff
path: root/support/gtex-letter/error.py
blob: c43877771816fcfb071095081bdb067361d0f410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class Error:
	def __init__(self, value):
		self.value = value
	def __str__(self):
		return self.value
		
class AddressCardNotFound(Error): pass
class AddressFormatMalformed(Error): pass
class FileExists(Error): pass
class KeyNotSupported(Error): pass
class LetterNotWritten(Error): pass
class MalformedClause(Error): pass
class PathNotFound(Error): pass