Should initialize `receivedError` to `nil`.