SP.AppInstanceErrorDetails.errorType property (sp.js)

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value =SP.AppInstanceErrorDetails.get_errorType()
          
SP.AppInstanceErrorDetails.set_errorType(value)