Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "WalletError"

Index

Enumerations

Classes

Variables

Variables

Let SUCCESS

SUCCESS: WalletError = new WalletError(WalletErrorCode.SUCCESS)

Lets us easier compare if a operation code was successful. Unfortunately have to use deepEqual since object comparison is by reference..

Usage:

if (deepEqual(someOperation, SUCCESS))

vs

if (someOperation === new WalletError(WalletErrorCode.SUCCESS))

Generated using TypeDoc