Skip to main content

Overview

  • Error type that carries parsed Move VM error metadata.
  • Thrown by transaction helpers on Move VM failures.
  • Use instanceof MoveError to identify and handle Move VM errors separately.

Quickstart

Properties

Notes

  • Use instanceof MoveError to branch UI or logging based on Move-specific metadata (moduleAddress, moduleName, errorCode).
  • originalError contains the original error with full message and stack trace.
  • isFromRegistry indicates whether the error message was resolved from the Initia error registry (more user-friendly when true).