Add badmatch_error_info/5 & error_info/5 to display error messages with more details