fix Q.onerror spelling mistake and missing parameter

Q.onerror was spelled Q.oneerror with two e's. It was also missing the reason parameter.