Add error to register