errors.gno
0.75 Kb · 18 lines
1package erratabank
2
3const (
4 errCurrentRealm = "invalid realm context"
5 errDirectCall = "payment requires a direct user call"
6 errPaymentDenom = "only ugnot is accepted"
7 errPayment = "payment must be positive"
8 errRejectCoins = "this function does not accept coins"
9 errBookMissing = "book not found"
10 errErratumMiss = "erratum not found"
11 errOwnerOnly = "book owner only"
12 errPendingOnly = "erratum must be pending"
13 errClosed = "book is closed to submissions"
14 errSelfSubmit = "book owners cannot submit to their own book"
15 errDuplicate = "original must be an earlier accepted erratum in the same book"
16 errWithdraw = "withdrawal must be positive and within available escrow"
17 errOverflow = "amount exceeds accounting limit"
18)