Updated readme to include example which returns an error.