异常:Mongoid::Errors::UnsupportedIsolationLevel
- 继承:
-
MongoidError
- 对象
- StandardError
- MongoidError
- Mongoid::Errors::UnsupportedIsolationLevel
- 定义于:
- lib/mongoid/errors/unsupported_isolation_level.rb
Overview
在 Mongoid 配置中使用不支持的隔离性级别时触发。
常量摘要
从MongoidError继承的常量
实例属性摘要
从MongoidError继承的属性
实例方法摘要折叠
-
#initialize (level) ⇒ UnsupportedIsolationLevel
构造函数
创建因尝试选择不支持的隔离性级别而导致的新错误。
从MongoidError继承的方法
构造函数详情
#initialize(level) ⇒ UnsupportedIsolationLevel
创建因尝试选择不支持的隔离性级别而导致的新错误。
12 13 14 15 16 17 18 19 |
# File 'lib/mongoid/errors/unsupported_isolation_level.rb', line 12 def 初始化(等级) 超( ( 'unsupported_isolation_level', { 级别: 等级 } ) ) end |