SIGN IN SIGN UP

Handle onError callback with optional argument (#43436)

Check for a binary callback first since a function with an optional
second argument will match both typedefs.

Remove documentation around a synchronous error following some other
error or value - a synchronous error can never follow a value or an
asynchronous error. If there is a synchronous error it will _always_ be
the first thing to happen.

Add a test for a unary error handler and an error handler with an
optional stack trace argument.
N
Nate Bosch committed
7cf362fc31354429c805ab084b5027c5c1f3c842
Parent: 0dc5ea4
Committed by Jonah Williams <jonahwilliams@google.com> on 10/30/2019, 5:39:50 PM