Refactors the error helper
Added Markdown