def status(reason = false)
      case @status_code
      when SUCCESS      then 'success'
      when ERROR        then 'error' + (reason ? " (#{truncated_error})" : "")
      when CONTINUE     then 'continue'
      when RETRY        then 'retry' + (reason ? " (#{@content})" : "")
      when NON_DELIVERY then 'non-delivery' + (reason ? " (#{@content})" : "")
      when MULTICAST    then 'multicast'
      when CANCEL       then 'cancel' + (reason ? " (#{@content})" : "")
      end
    end
def status(reason = false)
      case @status_code
      when SUCCESS      then 'success'
      when ERROR        then 'error' + (reason ? " (#{truncated_error})" : "")
      when CONTINUE     then 'continue'
      when RETRY        then 'retry' + (reason ? " (#{@content})" : "")
      when NON_DELIVERY then 'non-delivery' + (reason ? " (#{@content})" : "")
      when MULTICAST    then 'multicast'
      when CANCEL       then 'cancel' + (reason ? " (#{@content})" : "")
      end
    end
User friendly result status

 === Parameters
 reason(Boolean):: Whether to include failure reason information, default to false

 === Return
 (String):: Name of result code