Skip to content

Commit 70d9761

Browse files
committed
Remove obsolete add_to_error_path.
1 parent 6b53e44 commit 70d9761

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

plotly/exceptions.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,6 @@ def __init__(self, message='', path=(), note='', plain_message=''):
9191
self.note = note
9292
super(PlotlyGraphObjectError, self).__init__(message)
9393

94-
def add_to_error_path(self, path):
95-
if isinstance(path, list):
96-
self.path = path + self.path
97-
else:
98-
self.path = [path] + self.path
99-
10094
def __str__(self):
10195
format_dict = {
10296
'message': self.message,

0 commit comments

Comments
 (0)