Add a function to display errors in error list [#166]