异常:Mongoid::Errors::UnrecognizedResolver
- 继承:
-
MongoidError
- 对象
- StandardError
- MongoidError
- Mongoid::Errors::UnrecognizedResolver
- 定义于:
- lib/mongoid/errors/unrecognized_resolver.rb
Overview
常量摘要
从MongoidError继承的常量
实例属性摘要
从MongoidError继承的属性
实例方法摘要折叠
-
#initialize (resolver) ⇒ UnrecognizedResolver
构造函数
UnrecognizedResolver 的新实例。
从MongoidError继承的方法
构造函数详情
#initialize (resolver) ⇒ UnrecognizedResolver
返回 UnrecognizedResolver 的新实例。
16 17 18 19 20 21 22 23 24 |
# File 'lib/mongoid/errors/unrecognized_resolver.rb', line 16 def 初始化(解析器) 超( ( ' unrecognized_resolver ', 解析程序: 解析器.检查, 解析程序: [ :default, *Mongoid::ModelResolver.解析器.密钥 ].检查 ) ) end |