mirror of
https://github.com/valitydev/damsel.git
synced 2024-11-06 09:45:21 +00:00
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:
parent
2c4d1a4cce
commit
737d7a0cf5
@ -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_
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user