Exception: GrpcKit::Errors::NotFound

Inherits:
BadStatus
  • Object
show all
Defined in:
lib/grpc_kit/errors.rb

Instance Attribute Summary

Attributes inherited from BadStatus

#code, #reason

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ NotFound

Returns a new instance of NotFound

Parameters:

  • message (String)

69
70
71
# File 'lib/grpc_kit/errors.rb', line 69

def initialize(message)
  super(GrpcKit::StatusCodes::NOT_FOUND, message)
end