RemoteException.location() method
The primary location where the exception occurred.
Signature
class RemoteException {
location(): CallFrame;
}
Returns:
Remarks
For runtime errors this is stackTrace()[0]. For compilation and syntax errors (where stackTrace() is empty), it falls back to the top-level coordinates reported for the exception.