Add a error prototype