Ovok js exception
Generated reference for ovok_flutter: ovok js exception.
- Stable unknown
- Release candidate not available
- Development since 0.2.0-dev.51+80996d9
OvokJsException
class OvokJsException implements ExceptionA call that failed inside the embedded JavaScript engine.
Constructors
OvokJsException.new
OvokJsException({
required String name,
required String message,
required String stack,
})Creates an exception with the JavaScript error's name, message and stack.
| Parameter | Type | Kind | Default |
|---|---|---|---|
name | String | required named | |
message | String | required named | |
stack | String | required named |
OvokJsException.fromJson
OvokJsException.fromJson(Map<String, dynamic> json)Reads the {name, message, stack} object the JavaScript side reports.
| Parameter | Type | Kind | Default |
|---|---|---|---|
json | Map<String, dynamic> | positional |
Properties
OvokJsException.name
final String nameThe JavaScript error class name, such as OvokNotFoundError.
OvokJsException.message
final String messageThe JavaScript error message.
OvokJsException.stack
final String stackThe JavaScript stack trace.
Last updated on