Exception: NATS::JetStream::Error::NotFound
- Inherits:
-
APIError
- Object
- StandardError
- IO::Error
- NATS::JetStream::Error
- APIError
- NATS::JetStream::Error::NotFound
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/nats-pure-2.2.1/lib/nats/io/jetstream/errors.rb
Overview
When a JetStream object was not found. This condition is represented with a message that has 404 status code header.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from APIError
#code, #description, #err_code, #seq, #stream
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ NotFound
constructor
A new instance of NotFound.
Methods inherited from APIError
Constructor Details
#initialize(params = {}) ⇒ NotFound
Returns a new instance of NotFound.
82 83 84 85 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/nats-pure-2.2.1/lib/nats/io/jetstream/errors.rb', line 82 def initialize(params={}) super(params) @code ||= 404 end |