Commit 489b6732 authored by Eckhart Arnold's avatar Eckhart Arnold
Browse files

error.py: preparation for multiple input files

parent d1bff1e5
......@@ -36,14 +36,14 @@ the string representations of the error objects. For example::
The central class of module DHParser's ``error`` is the ``Error``-class.
The easiest way to create an error object is by instantiating
the Error class with an error message and a source position::
the Error class with an error message and a source position::
>>> error = Error('Somethigs went wrong', 123)
>>> print(error)
Error (1000): Something went wrong
>>> error = Error('Somethigs went wrong', 123)
>>> print(error)
Error (1000): Something went wrong
However, in order to report errors, usually at least a line and
column-number
However, in order to report errors, usually at least a line and
column-number
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment