$getException

Returns the error exception.
Syntax
    $getException{exception}{start}
DocumentationFunction $getException returns the error exception message:

    Parameter:
      exception
        - dump
        - getClass
        - getMessage
        - getStackTrace
      start, the number of the error exception, default is the last error exception
    Result:
      give back the error exception
      - dump, give back the completely error message
      - getClass, give back the java class
      - getMessage, give back the error message
      - getStackTrace, give back only the stack
Examples
GroupCode
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters0
Maximum parameters 2