异常:Mongoid::Errors::MixedClientConfiguration
- 继承:
-
MongoidError
- 对象
- StandardError
- MongoidError
- Mongoid::Errors::MixedClientConfiguration
- 定义于:
- lib/mongoid/errors/mixed_client_configuration.rb
Overview
当客户端配置同时包含 uri 和其他标准选项时,会引发此错误。
常量摘要
从MongoidError继承的常量
Mongoid::Errors::MongoidError::BASE_KEY
实例属性摘要
从MongoidError继承的属性
实例方法摘要折叠
从MongoidError继承的方法
构造函数详情
#initialize (name, config) ⇒ MixedClientConfiguration
初始化错误。
18 19 20 21 22 23 24 25 |
# File 'lib/mongoid/errors/mixed_client_configuration.rb', line 18 def 初始化(名称, config) 超( ( " Mixed_client_configuration ", { 名称: 名称, 配置: config } ) ) end |