Method: Mongo::Monitoring::Event::Cmap::ConnectionCheckOutFailed#reason

Defined in:
lib/mongo/monitoring/event/cmap/connection_check_out_failed.rb

#reasonSymbol (readonly)

Returns reason The reason a connection was unable to be acquired.

Returns:

  • (Symbol)

    reason The reason a connection was unable to be acquired.

Since:

  • 2.9.0



58
59
60
# File 'lib/mongo/monitoring/event/cmap/connection_check_out_failed.rb', line 58

def reason
  @reason
end