Use core hook to add error details
Remove deprecated error message view