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)


71
72
73
# File 'lib/grpc_kit/errors.rb', line 71

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