export declare const getErrorFromException: (ex: any, type?: string) => any;