Document onerror callback.
Merge pull request #119 from rjackson/document_onerror

Document onerror callback.