feat(descro): add DisputeTimeoutNotReached and InsufficientVaultBalance errors
This commit is contained in:
@@ -12,4 +12,8 @@ pub enum EscrowError {
|
|||||||
UnauthorizedResolver,
|
UnauthorizedResolver,
|
||||||
#[msg("Escrow has expired")]
|
#[msg("Escrow has expired")]
|
||||||
Expired,
|
Expired,
|
||||||
|
#[msg("Dispute timeout period has not elapsed yet")]
|
||||||
|
DisputeTimeoutNotReached,
|
||||||
|
#[msg("Vault balance is insufficient for the requested escrow amount")]
|
||||||
|
InsufficientVaultBalance,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user