diff --git a/index.d.ts b/index.d.ts index ca97b6e..256398f 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,6 +1,6 @@ import {VError} from 'verror'; -class GRPCError extends VError { +export class GRPCError extends VError { code: number; name: string; } @@ -21,4 +21,4 @@ export class UnimplementedError extends GRPCError {} export class InternalError extends GRPCError {} export class UnavailableError extends GRPCError {} export class DataLossError extends GRPCError {} -export class UnauthenticatedError extends GRPCError {} \ No newline at end of file +export class UnauthenticatedError extends GRPCError {}