errors.gno
0.34 Kb · 8 lines
1package staker
2
3import "errors"
4
5// ErrSpoofedRealm is returned by store Set* methods when the supplied realm
6// token does not match the current crossing frame (rlm.IsCurrent() is false),
7// rejecting spoofed or stale realm tokens before any write is performed.
8var ErrSpoofedRealm = errors.New("rlm does not match the current crossing frame")