Excepción: Mongo::Error::ServerTimeoutError
- Hereda:
-
Error de tiempo de espera
- Objeto
- Error estándar
- Mongo::Error
- Error de tiempo de espera
- Mongo::Error::ServerTimeoutError
- Incluye:
- OperaciónFallo::Familia
- Definido en:
- lib/mongo/error/error_de_tiempo_de_espera_del_servidor.rb
Overview
Se genera cuando el servidor devuelve el código de error 50.
Resumen constante
Constantes incluidas de OperationFailure::Family
Error de operación::Familia::ERRORES DE REANUDACIÓN DE FLUJO DE CAMBIOS, Error de operación::Familia::MENSAJES DE REANUDACIÓN DE FLUJO DE CAMBIOS
Constantes incluidas en ReadWriteRetryable
LeerEscrituraReintentable::REINTENTAR_MENSAJES, LeerEscrituraReintentable::ESCRIBIR_REINTENTAR_ERRORES, LeerEscrituraReintentable::ESCRIBIR_REINTENTAR_MENSAJES
Constantes incluidas de SdamErrorDetection
Mongo::Error::DetecciónDeErrorSdam::CÓDIGOS_DE_RECUPERACIÓN_DE_NODO, Mongo::Error::DetecciónDeErrorSdam::CÓDIGOS_DE_APAGADO_DE_NODO, Mongo::Error::DetecciónDeErrorSdam::CÓDIGOS_NO_MAESTROS
Constantes heredadas de Mongo::Error
VALOR MAL, CÓDIGO, CURSOR NO ENCONTRADO, ERR,MENSAJE DE ERROR, ERROR, ETIQUETA DE ERROR DE TRANSACCIÓN TRANSITORIA, ERROR DESCONOCIDO, ETIQUETA DERESULTADO DE CONFIRMACIÓN DE TRANSACCIÓN DESCONOCIDA, ERROR DE PREOCUPACIÓN DE ESCRITURA, ERRORES DE PREOCUPACIÓN DE ESCRITURA, ERRORES DE ESCRITURA
Resumen de atributos de instancia
Atributos incluidos de OperationFailure::Family
#código, #nombre_código, #detalles, #documento, #resultado, #mensaje_servidor, #código_error_inquietud_escritura, #nombre_código_error_inquietud_escritura, #documento_error_inquietud_escritura
Atributos incluidos de Notable
#id_global_de_conexión, #generación, #id_de_servicio
Resumen del método
Métodos incluidos en OperationFailure::Family
#cambio_de_flujo_reanudable?, #descripción_de_conexión, #inicializar, #tiempo_máximo_ms_vencido?, #escritura_reintenta_no_compatible?, #error_de_escritura_preocupado?, #tiempo_de_espera_w?
Métodos incluidos en ReadWriteRetryable
#¿reintentable?, #¿escritura_reintentable?
Métodos incluidos en SdamErrorDetection
#nodo_en_recuperación?, #nodo_apagándose?, #no_maestro?
Métodos heredados de Mongo::Error
#cambiar_flujo_reanudable?, #inicializar, #error_de_red?, #escribir_etiqueta_de_error_de_preocupación?, #escribir_etiquetas_de_error_de_preocupación
Métodos incluidos en ChangeStreamResumable
Métodos incluidos de WriteRetryable
Métodos incluidos en Labelable
#add_label, #etiqueta?, #etiquetas
Métodos incluidos de Notable
#añadir_nota, #añadir_notas, #notas, #a_los