Use "err" instead of "error" keyword (closes #1)

Thanks @railsmechanic.