Exception: Mongoid::Shell::Errors::MissingPrimaryNodeError

Inherits:
Base
  • Object
show all
Defined in:
lib/mongoid/shell/errors/missing_primary_node_error.rb

Instance Attribute Summary

Attributes inherited from Base

#problem, #resolution, #summary

Instance Method Summary collapse

Methods inherited from Base

#compose_message

Constructor Details

#initializeMissingPrimaryNodeError

Returns a new instance of MissingPrimaryNodeError.



5
6
7
# File 'lib/mongoid/shell/errors/missing_primary_node_error.rb', line 5

def initialize
  super(compose_message('missing_primary_node'))
end