UNPKG

@nixjs23n6/types

Version:

Typings for gRPC Web Client.

15 lines (14 loc) 367 B
export declare namespace Errors { type ErrorResponse = { code: number; message: string; }; type ErrorStringifier = (params?: any) => string; type ErrorFormatter = (params?: any) => ErrorResponse; type Error<T> = { type: T; code: number; stringify: ErrorStringifier; format: ErrorFormatter; }; }