Exception: MdnQuery::NoEntryFound

Inherits:
Error
  • Object
show all
Defined in:
lib/mdn_query/errors.rb

Overview

The error when no entries were found.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(query, options = {}) ⇒ MdnQuery::NoEntryFound

Creates a new NoEntryFound error.



18
19
20
21
# File 'lib/mdn_query/errors.rb', line 18

def initialize(query, options = {})
  @query = query
  @options = options
end

Instance Attribute Details

#optionsHash (readonly)



11
12
13
# File 'lib/mdn_query/errors.rb', line 11

def options
  @options
end

#queryString (readonly)



8
9
10
# File 'lib/mdn_query/errors.rb', line 8

def query
  @query
end