rest.getException
rest.getException()
Description
Gets the exception thrown by the last request.
Example
http = option.rest
try {
res = http.get(url)
} catch (Exception e){
exception = http.getException()
api.sendAlarm("ci", "element", "eltype", "Failed HTTP GET", exception: " + exception, "4", "CRITICAL")
}