Exception: LogStash::Api::NotFoundError
- Defined in:
- lib/logstash/api/errors.rb
Instance Method Summary collapse
-
#initialize ⇒ NotFoundError
constructor
A new instance of NotFoundError.
- #status_code ⇒ Object
Methods inherited from ApiError
Constructor Details
#initialize ⇒ NotFoundError
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_code ⇒ Object
23 24 25 |
# File 'lib/logstash/api/errors.rb', line 23 def status_code 404 end |