s/error/err
Merge pull request #61 from rvagg/emit-error

typo