LiskArchive / lisk-elements

⚙️ Library for sending Lisk transactions from the client or server
https://lisk.io/
GNU General Public License v3.0
250 stars 64 forks source link

Improve error message and not throw in constructor - Closes #1164 #1178

Closed shuse2 closed 5 years ago

shuse2 commented 5 years ago

What was the problem?

Error message was inconsistent, and not having enough information. Also, constructor was throwing error with multiple error, which was harder to handle.

How did I fix it?

How to test it?

Create invalid transaction and check if it doesn't throw

Review checklist