mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Refactor installation to work out a few bugs and to make it cleaner. Transactions now reject on fail-responses, still need to update other places.
This commit is contained in:
4
res/app/components/stf/transaction/transaction-error.js
Normal file
4
res/app/components/stf/transaction/transaction-error.js
Normal file
@@ -0,0 +1,4 @@
|
||||
module.exports = function TransactionError(result) {
|
||||
this.message = this.code = result.error
|
||||
this.result = result
|
||||
}
|
||||
Reference in New Issue
Block a user