aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/libpathod/language/exceptions.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2016-02-17 10:35:41 +1300
committerAldo Cortesi <aldo@corte.si>2016-02-17 10:35:41 +1300
commit887ecf88967fe6caf8f8d5443e49b6bfcfbfcd0d (patch)
tree4c3b4f9cc555a945ddbeeb1b179070ef98b2eeff /pathod/libpathod/language/exceptions.py
parentef8e95956d938fd4891d79fdbfa83f8a77a482cb (diff)
parentb87797ea255a0e2058e0574a5a00150f7f2df5db (diff)
downloadmitmproxy-887ecf88967fe6caf8f8d5443e49b6bfcfbfcd0d.tar.gz
mitmproxy-887ecf88967fe6caf8f8d5443e49b6bfcfbfcd0d.tar.bz2
mitmproxy-887ecf88967fe6caf8f8d5443e49b6bfcfbfcd0d.zip
Merge pull request #950 from Kriechi/rename
Rename lib folders
Diffstat (limited to 'pathod/libpathod/language/exceptions.py')
-rw-r--r--pathod/libpathod/language/exceptions.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/pathod/libpathod/language/exceptions.py b/pathod/libpathod/language/exceptions.py
deleted file mode 100644
index 84ad3c02..00000000
--- a/pathod/libpathod/language/exceptions.py
+++ /dev/null
@@ -1,22 +0,0 @@
-
-class RenderError(Exception):
- pass
-
-
-class FileAccessDenied(RenderError):
- pass
-
-
-class ParseException(Exception):
-
- def __init__(self, msg, s, col):
- Exception.__init__(self)
- self.msg = msg
- self.s = s
- self.col = col
-
- def marked(self):
- return "%s\n%s" % (self.s, " " * (self.col - 1) + "^")
-
- def __str__(self):
- return "%s at char %s" % (self.msg, self.col)