function $5f613ef21b2f8d72$var$getErrorMessage(err, status, env) {
    var msg;
    if (env !== 'production') {
        // use err.stack, which typically includes err.message
        msg = err.stack;
        // fallback to err.toString() when possible
        if (!msg && typeof err.toString === 'function') msg = err.toString();
    }
    return msg || $075d612339d2d89e$exports[status];
}
/**
 * Get message from Error object, fallback to status message.
 *
 * @param {Error} err
 * @param {number} status
 * @param {string} env
 * @return {string}
 * @private
 */
Get message from Error object, fallback to status message.
Get message from Error object fallback to status message .
function $5f613ef21b2f8d72$var$getErrorMessage(err, status, env) {
    var msg;
    if (env !== 'production') {
        msg = err.stack;
        if (!msg && typeof err.toString === 'function') msg = err.toString();
    }
    return msg || $075d612339d2d89e$exports[status];
}
function $5f613ef21b2f8d72$var$getErrorMessage ( err , status , env ) { var msg ; if ( env !== 'production' ) { msg = err . stack ; if ( ! msg && typeof err . toString === 'function' ) msg = err . toString ( ) ; } return msg || $075d612339d2d89e$exports [ status ] ; }
Get message from Error object, fallback to status message.
Get message from Error object fallback to status message .
// use err.stack, which typically includes err.message // fallback to err.toString() when possible