Handle request.error Listener Closures correctly.

When there is a closure and not a array callable registered for request.error, a array access error occurs otherwise.