클래스: Mongo::Error::InsufficientIterationCount

상속:
오류
  • 객체
모두 표시
다음에 정의됨:
lib/ Mongo/error/insufficient_iteration_count.rb

개요

이름 없이 데이터베이스 를 만들려고 할 때 발생하는 예외입니다.

이후:

  • 2.6.0

클래스 메서드 요약 접기

인스턴스 메서드 요약 접기

생성자 세부 정보

#initialize(msg) ⇒ InsufficientIterationCount

새 예외를 인스턴스화합니다.

예시:

예외를 인스턴스화합니다.

Mongo::Error::InvalidDatabaseName.new

이후:

  • 2.6.0



29
30
31
# 파일 'lib/ Mongo/error/insufficient_iteration_count.rb', 줄 29

def 초기화(msg)
  super
end

클래스 메서드 세부 정보

.메시지(required_count, 주어진_카운트) ⇒ 객체

이후:

  • 2.6.0



33
34
35
# 파일 'lib/ Mongo/error/insufficient_iteration_count.rb', 줄 33

def self.메시지(require_count, 주어진_카운트)
  "이 인증 메커니즘에는 #{require_count} 의 반복 횟수가 필요 하지만 , 서버 는 # {주어진_카운트}번만 요청했습니다. "
end