Exception: GRPC::NotFound

Inherits:
BadStatus
  • Object
show all
Defined in:
src/ruby/lib/grpc/errors.rb

Overview

GRPC status code corresponding to status NOT_FOUND

Instance Attribute Summary

Attributes inherited from BadStatus

#code, #details, #metadata

Instance Method Summary collapse

Methods inherited from BadStatus

new_status_exception, #to_status

Constructor Details

#initialize(details = 'unknown cause', metadata = {}) ⇒ NotFound

Returns a new instance of NotFound.



134
135
136
# File 'src/ruby/lib/grpc/errors.rb', line 134

def initialize(details = 'unknown cause',  = {})
  super(Core::StatusCodes::NOT_FOUND, details, )
end