ts-logs
Version:
This package provide a skd for audit and manager logs in nodejs and express
10 lines • 448 B
TypeScript
import { CatchError, SProps } from '../types';
/**
* @description Create an instance of Step with axios error data.
* @param error instance of Error.
* @param rmKeys array of string as key to remove from data.
* @returns instance of Step.
*/
export declare const StepPropsFromAxiosError: (error: CatchError, rmKeys?: string[]) => Partial<SProps>;
export default StepPropsFromAxiosError;
//# sourceMappingURL=step-from-axios-error.util.d.ts.map