errors.gno
0.70 Kb · 15 lines
1package ucs03_zkgm
2
3// ErrSpoofedRealm guards non-crossing (_ int, rlm realm, ...) entrypoints: the
4// passed rlm must be the current crossing frame, not a forged or stale token
5// replayed by a caller.
6const (
7 ErrSpoofedRealm = "rlm does not match the current crossing frame"
8 ErrNotProxyRealm = "rlm is not proxy realm"
9 ErrNotCoreRealm = "rlm is not core realm"
10 ErrInvalidSaltLength = "invalid salt length"
11 ErrTokenBucketNotFound = "token bucket not found"
12 ErrChannelBalanceV2NotFound = "channel balance v2 not found"
13 ErrLockedTokenAmountOverflow = "locked token amount overflows uint256"
14 ErrInterfaceConversion = "interface conversion failed"
15)