Mongo.Error.not_writable_primary-question-mark

You're seeing just the function not_writable_primary-question-mark, go back to Mongo.Error module for more information.
Link to this function

not_writable_primary?(error)

View Source