simplify GridError definition
This commit is contained in:
parent
1067c3b780
commit
f338d06be6
@ -1,9 +1,2 @@
|
|||||||
class GridError(Exception):
|
class GridError(Exception):
|
||||||
"""
|
pass
|
||||||
Simple Exception for Grid
|
|
||||||
"""
|
|
||||||
def __init__(self, value):
|
|
||||||
self.value = value
|
|
||||||
|
|
||||||
def __str__(self):
|
|
||||||
return repr(self.value)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user