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 Exception

A 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.

ParameterTypeKindDefault
nameStringrequired named
messageStringrequired named
stackStringrequired named

OvokJsException.fromJson

OvokJsException.fromJson(Map<String, dynamic> json)

Reads the {name, message, stack} object the JavaScript side reports.

ParameterTypeKindDefault
jsonMap<String, dynamic>positional

Properties

OvokJsException.name

final String name

The JavaScript error class name, such as OvokNotFoundError.

OvokJsException.message

final String message

The JavaScript error message.

OvokJsException.stack

final String stack

The JavaScript stack trace.

Last updated on

On this page