Exception: Textrepo::InvalidSearchResultError

Inherits:
Error
  • Object
show all
Defined in:
lib/textrepo/error.rb

Overview

An error raise if the search result is not suitable to use.

Instance Method Summary collapse

Constructor Details

#initialize(str) ⇒ InvalidSearchResultError

Returns a new instance of InvalidSearchResultError.



99
100
101
# File 'lib/textrepo/error.rb', line 99

def initialize(str)
  super(ErrMsg::INVALID_SEARCH_RESULT % str)
end