Returns the encapsulated error if this Event is an Event.Error. Otherwise, throws a NoSuchElementException.