Skip to main content
When a transaction fails, Sui returns an abort code. Use this table to understand what went wrong and how to handle it in your app.

Handling Errors in Your App

Sui encodes abort codes in the error message as MoveAbort(..., CODE). Parse the code from the message to show users a friendly error.