import { BatchRequestErrorInfo } from './types' ; export function getErrorMessage ( errInfo ) { try { const message = errInfo . response . body ?. error ?. message ; return message ; } catch ( _ ) { return '' ; } } export function isError613 ( errInfo ) { const message = getErrorMessage ( errInfo ) ; return /#613/ . test ( message ) ; }