Class JsException
A JavaScript exception
Implements
Inherited Members
Namespace: Meta.InstantGames.Runtime
Assembly: Unity.Meta.InstantGames.Runtime.dll
Syntax
public class JsException : Exception, ISerializable
Properties
Message
A message describing the error
Declaration
public override string Message { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
The name of the JavaScript exception type
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
StackTrace
A string representation of the immediate frames on the call stack
Declaration
public override string StackTrace { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
ToString()
A string representation of the exception, including the name of the underlying JavaScript exception and the stack trace
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | The string representation of the exception |