import { getReasonPhrase } from 'http-status-codes' ; export const getHttpStatusText = ( status ) => { let httpStatusText = '' ; try { httpStatusText = getReasonPhrase ( status ) ; } catch { } return httpStatusText ; } ;