Created
January 29, 2019 16:46
-
-
Save Jojoooo1/d716187753e4ef7b7ee6a49de839fe60 to your computer and use it in GitHub Desktop.
chaincode-5.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// [...] | |
async usarCodigo(stub, args) { | |
try { | |
await Codigo.usarCodigo(stub, args); | |
} catch (err) { | |
throw new Error(err.message ? err.message : 'Por favor tente novamente mais tarde'); | |
} | |
} | |
// [...] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment