async function snoozeIncident(id, from, payload) {
  try {
    const { body } = await pd.incidents.snoozeIncident(id, from, payload)
    return body
  } catch (err) {
    await handleError(err, 'Failed to snooze incident')
  }
}
/**
 * snoozeIncident snoozes an incident for a number of seconds.
 *
 * @param {string} id      The incident's id
 * @param {string} from    The email of a PagerDuty user
 * @param {object} payload The snooze payload to add to the incident with a duration in seconds
 *
 * @return {object} The response body
 */
snoozeIncident snoozes an incident for a number of seconds.
@param {string} id      The incident's id
@param {string} from    The email of a PagerDuty user
@param {object} payload The snooze payload to add to the incident with a duration in seconds

@return {object} The response body
snoozeIncident snoozes an incident for a number of seconds . @param { string } id The incident ' s id @param { string } from The email of a PagerDuty user @param { object } payload The snooze payload to add to the incident with a duration in seconds @return { object } The response body
async function snoozeIncident(id, from, payload) {
  try {
    const { body } = await pd.incidents.snoozeIncident(id, from, payload)
    return body
  } catch (err) {
    await handleError(err, 'Failed to snooze incident')
  }
}
async function snoozeIncident ( id , from , payload ) { try { const { body } = await pd . incidents . snoozeIncident ( id , from , payload ) return body } catch ( err ) { await handleError ( err , 'Failed to snooze incident' ) } }
snoozeIncident snoozes an incident for a number of seconds.
snoozeIncident snoozes an incident for a number of seconds .