Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "grpc/getGrpcError"

Index

Functions

Functions

Const getGrpcError

  • getGrpcError(err: any): ServiceError
  • Convert an internal xud error type into a gRPC error.

    Parameters

    • err: any

      an error object that should have code and message properties

    Returns ServiceError

    a gRPC error with a gRPC status code

Generated using TypeDoc