Exception: LogStash::Api::NotFoundError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/logstash/api/errors.rb

Instance Method Summary collapse

Methods inherited from ApiError

#to_hash

Constructor Details

#initializeNotFoundError

Returns a new instance of NotFoundError.



19
20
21
# File 'lib/logstash/api/errors.rb', line 19

def initialize
  super("Not Found")
end

Instance Method Details

#status_codeObject



23
24
25
# File 'lib/logstash/api/errors.rb', line 23

def status_code
  404
end