simplify GridError definition
This commit is contained in:
parent
1067c3b780
commit
f338d06be6
1 changed files with 1 additions and 8 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue