@creditkarma/thrift-server-core
Version:
Thrift core library in TypeScript
15 lines (14 loc) • 388 B
TypeScript
export declare enum TProtocolExceptionType {
UNKNOWN = 0,
INVALID_DATA = 1,
NEGATIVE_SIZE = 2,
SIZE_LIMIT = 3,
BAD_VERSION = 4,
NOT_IMPLEMENTED = 5,
DEPTH_LIMIT = 6
}
export declare class TProtocolException extends Error {
readonly name: string;
readonly type: TProtocolExceptionType;
constructor(type: TProtocolExceptionType, message?: string);
}