failConnection method

void failConnection(
  1. Object error
)

Fails the current connection.

Implementation

void failConnection(Object error) => current.addError(error);