MoveLocation

interface MoveLocation

Location in Move bytecode where an error occurred.

Properties

Link copied to clipboard
abstract val function: <Error class: unknown class>?

The function index.

Link copied to clipboard
abstract val functionName: String?

The name of the function, if available.

Link copied to clipboard
abstract val instruction: <Error class: unknown class>?

Offset of the instruction where the error occurred.

Link copied to clipboard
abstract val module: String?

The module name.

Link copied to clipboard
abstract val package: String?

The package ID.

Link copied to clipboard

Returns the field-presence view for this MoveLocation instance.

Functions

Link copied to clipboard
Link copied to clipboard
fun MoveLocation.copy(body: <Error class: unknown class>.() -> Unit = {}): MoveLocation

Copies the original message, including unknown fields.