Functions - grpc

prepareError

Prepare the error as gRPC specific Error.

prepareError

(ErrorType errorType, string message, error? cause)

returns Error

Prepare the error as gRPC specific Error.

Parameters

  • message string
  • the error message.

  • cause error?
  • the error instance.

  • Return Type

    (Error)
  • prepared grpc:Error instance.