class EventMachine::Completion

def errback(*a, &b)

Errbacks are called when you enter (or are in) a :failed state.
def errback(*a, &b)
  stateback(:failed, *a, &b)
end