Exception: GrpcKit::Errors::PermissionDenied

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) ⇒ PermissionDenied

Returns a new instance of PermissionDenied.

Parameters:

  • message (String)


85
86
87
# File 'lib/grpc_kit/errors.rb', line 85

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