Excepción: Mongo::Error::OperationFailure

Hereda:
Mongo::Error
  • Objeto
Mostrar todo
Incluye:
Familia
Definido en:
lib/mongo/error/operation_failure.rb

Overview

Se produce cuando una operación falla por alguna razón.

Desde:

  • 2.0.0

Definido bajo Namespace

Modules: Familia

Resumen constante

Constantes incluidas de la familia

Familia::ERRORES DE REANUDACIÓN DE FLUJO DE CAMBIOS, Familia::MENSAJES DE REANUDACIÓN DE FLUJO DE CAMBIOS

Constantes incluidas en ReadWriteRetryable

ReadWriteRetryable::RETRY_MESSAGES, ReadWriteRetryable::WRITE_RETRY_ERRORS, ReadWriteRetryable::WRITE_RETRY_MESSAGES

Constantes incluidas de SdamErrorDetection

SdamErrorDetection::NODE_RECOVERING_CODES, SdamErrorDetection::NODE_SHUTTING_DOWN_CODES, SdamErrorDetection::NOT_MASTER_CODES

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 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 de Familia

#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

#change_stream_resumable?

Métodos incluidos de WriteRetryable

#write_retryable?

Métodos incluidos de Labelable

#add_label, #etiqueta?, #etiquetas

Métodos incluidos de Notable

#agregar_nota, #agregar_notas, #notas, #a_s