@vtex/api
Version:
VTEX I/O API client
9 lines (8 loc) • 313 B
TypeScript
export declare const PICKED_AXIOS_PROPS: string[];
export declare const SENSITIVE_EXCEPTION_FIELDS: string[];
/**
* Cleans errors by removing circular properties, truncating large strings and picking axios properties
*
* @param value an Error instance
*/
export declare const cleanError: (value: any) => any;