class GrpcDescriptorError
extends Error
Since 0.3.0

Thrown when an embedded descriptor set cannot be decoded, or when a service the plugin expects to find inside one is absent — i.e. the committed base64 constant is truncated, swapped, or regenerated against an incompatible proto.

Constructors

GrpcDescriptorError(
detail: string,
options?: ErrorOptions
)

Usage

import { GrpcDescriptorError } from "grpc-plugin/src/index.ts";