Excepción: Mongo::Error::ServerTimeoutError
- Hereda:
-
TimeoutError
- Objeto
- StandardError
- Mongo::Error
- TimeoutError
- Mongo::Error::ServerTimeoutError
- Incluye:
- OperationFailure::Family
- Definido en:
- lib/mongo/error/server_timeout_error.rb
Overview
Devuelve cuando el servidor retorna el código de error 50.
Resumen constante
Constantes incluidas de OperationFailure::Family
OperationFailure::Family::CHANGE_STREAM_RESUME_ERRORS, OperationFailure::Family::CHANGE_STREAM_RESUME_MESSAGES
Constantes incluidas en ReadWriteRetryable
ReadWriteRetryable::RETRY_MESSAGES, ReadWriteRetryable::WRITE_RETRY_ERRORS, ReadWriteRetryable::WRITE_RETRY_MESSAGES
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
BAD_VALUE, CODE, CURSOR_NOT_FOUND, ERR, ERRMSG, ERROR, TRANSIENT_TRANSACTION_ERROR_LABEL, UNKNOWN_ERROR, UNKNOWN_TRANSACTION_COMMIT_RESULT_LABEL, WRITE_CONCERN_ERROR, WRITE_CONCERN_ERRORS, WRITE_ERRORS
Resumen del atributo de la instancia
Atributos incluidos de OperationFailure::Family
#código, #nombre_código, #detalles, #documento, #resultado, #mensaje_servidor, #código_error_confirmación_escritura, #nombre_código_error_confirmación_escritura, #documento_error_confirmación_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
#change_stream_resumable?, #connection_description, #initialize, #max_time_ms_expired?, #unsupported_retryable_write?, #write_concern_error?, #wtimeout?
Métodos incluidos de ReadWriteRetryable
#¿reintentable?, #¿escritura_reintentable?
Métodos incluidos de SdamErrorDetection
#nodo_recuperando?, #nodo_apagándose?, #no_es_máster?
Métodos heredados de Mongo::Error
#change_stream_resumable?, #initialize, #network_error?, #write_concern_error_label?, #write_concern_error_labels
Métodos incluidos de ChangeStreamResumable
Métodos incluidos de WriteRetryable
Métodos incluidos de Labelable
#add_label, #etiqueta?, #etiquetas