nodevk-ts
Version:
Simple Node.js module that allows you to interact with the VKontakte API.
17 lines (16 loc) • 394 B
TypeScript
interface IRequestParam {
key: string;
value: string;
}
export interface VKAPIError {
error_code: number;
error_msg: string;
request_params: IRequestParam[];
}
export default class VKAPIException extends Error {
readonly code: number;
readonly params: IRequestParam[];
readonly source: VKAPIError;
constructor(json: VKAPIError);
}
export {};