mobicontrol.Error

This class represents an error thrown by the agent.

Error

Since:
  • Version 1.1 (API level 2)

Members

readonly fileName :string

The path to the file that raised this error.
Since:
  • Version 1.1 (API level 2)

readonly lineNumber :number

The line number of the file where the error occurred.
Since:
  • Version 1.1 (API level 2)

readonly message :string

Error message.

A system-provided human-readable description of the error.

Since:
  • Version 1.1 (API level 2)

readonly name :string

Error name.

A string label that identifies the kind of error. For example, "MobiControlError".

Since:
  • Version 1.1 (API level 2)

readonly stack :string

Error stack trace.

The stack trace at the point where the error occurred. The stack contains trace of which functions were called, in what order, from which line and file, and with what arguments. The stack string proceeds from the most recent calls to earlier ones, leading back to the original global scope call.

Since:
  • Version 1.1 (API level 2)