Added support for multiline errors.