Should there be a errorHandler instead of `null` that calles `reject()`?