@fullstory/server-api-client
Version:
The official FullStory server API client SDK for NodeJS.
17 lines (16 loc) • 508 B
TypeScript
import { FSErrorName } from './base';
export * from './api';
export { FSErrorName } from './base';
export * from './parser';
export * from './timeout';
export * from './unknown';
export interface FSError extends Error {
discriminator: 'FSError';
name: FSErrorName;
[key: string]: any;
chain: (newError: Error) => FSError;
canRetry(): boolean;
getRetryAfter(): number;
}
export declare function isFSError(o: any): o is FSError;
export declare function chainedFSError(e: any): FSError;