add error info methods