• Utility function to create RpcError errors

    Parameters

    • type: RpcErrorType

      type of error

    • description: string

      longer description of error

    • Optional internalError: CrtError

      optional CrtError that caused this error

    • Optional serviceError: any

      optional modeled eventstream RPC service error that triggered this error

    Returns RpcError

    a new RpcError object

Generated using TypeDoc