Exception: GRPC::InvalidArgument

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

Overview

GRPC status code corresponding to status INVALID_ARGUMENT

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 = {}) ⇒ InvalidArgument

Returns a new instance of InvalidArgument.



106
107
108
# File 'src/ruby/lib/grpc/errors.rb', line 106

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