Change `error:` to `rejected:` where appropriate in reference examples
Working on #70 (closed), I find that it is awkward to write what error:
means in the reference example snippets.
In some sense this is me deciding that #72 (closed) is not complete after all.