add Error definition