error Returns the error event. Declarationvar error: any Error { get } See AlsoGetting the errordidRecover