HG-130: Fix whoopsies (#102)

* HG-130: Fix whoopsies

* HG-130: Make exception name in line with the function names
This commit is contained in:
Andrew Mayorov 2017-01-11 17:33:44 +03:00 committed by GitHub
parent 2c4d1a4cce
commit 737d7a0cf5
2 changed files with 5 additions and 5 deletions

View File

@ -395,7 +395,7 @@ union CashBound {
}
union CashLimitSelector {
1: set<CashLimitDecision> predicates
1: set<CashLimitDecision> decisions
2: CashLimit value
}
@ -753,11 +753,11 @@ struct ExternalAccount {
}
union ExternalAccountSetSelector {
1: set<ExternalAccountSetPredicate> predicates
1: set<ExternalAccountSetDecision> decisions
2: ExternalAccountSetRef value
}
struct ExternalAccountSetPredicate {
struct ExternalAccountSetDecision {
1: required Predicate if_
2: required ExternalAccountSetSelector then_
}

View File

@ -459,7 +459,7 @@ exception InvalidShopStatus {
exception AccountNotFound {}
exception AccountSetNotFound {}
exception ShopAccountNotFound {}
// Service
@ -611,7 +611,7 @@ service PartyManagement {
/* Accounts */
domain.ShopAccount GetShopAccount (1: UserInfo user, 2: PartyID party_id, 3: ShopID shop_id)
throws (1: InvalidUser ex1, 2: PartyNotFound ex2, 3: ShopNotFound ex3, 4: AccountSetNotFound ex4)
throws (1: InvalidUser ex1, 2: PartyNotFound ex2, 3: ShopNotFound ex3, 4: ShopAccountNotFound ex4)
AccountState GetAccountState (1: UserInfo user, 2: PartyID party_id, 3: domain.AccountID account_id)
throws (1: InvalidUser ex1, 2: PartyNotFound ex2, 3: AccountNotFound ex3)