| D | errors.rb | 33 attr_reader :code, :details, :metadata, :debug_error_string accessor in GRPC.BadStatus 38 # @param details [String] the details of the exception 41 details = 'unknown cause', argument 44 exception_message = "#{code}:#{details}" 50 @details = details 58 # @return [Struct::Status] with the same code and details 60 Struct::Status.new(code, details, metadata, debug_error_string) 64 # Returns `nil` if the `grpc-status-details-bin` trailer could not be 78 details = 'unknown cause', argument 101 BadStatus.new(code, details, metadata, debug_error_string) [all …]
|