Skip to content

Instantly share code, notes, and snippets.

@mariano-aguero
Created May 15, 2020 12:47
Show Gist options
  • Save mariano-aguero/039d25d45b48e64d1040be027aff3ad9 to your computer and use it in GitHub Desktop.
Save mariano-aguero/039d25d45b48e64d1040be027aff3ad9 to your computer and use it in GitHub Desktop.
Files with errors codes
// Error codes used with the `failwith` method , for contract execution termination.
const error_not_enough_balance : string = "0";
const error_transaction_of_funds_failed : string = "1";
const error_amount_must_be_zero : string = "3";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment