Providing the source

enolib does not know where your content comes from (which file, input field, url, etc.), this is however a vital piece of information for good error messages, and so it is highly recommended to provide a source string which enolib includes in all error messages it creates:

document = Enolib.parse(input, source: 'a/path/example.eno')

Next page: Localized errors