These docs are for v1.3.0. Click to read the latest docs for v1.6.

eosio_assert_code

Aborts processing of this action and unwinds all pending changes.

Aborts processing of this action and unwinds all pending changes if the test condition is true

Parameters

  • test - 0 to abort, 1 to ignore
  • code - the error code