-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherrors.go
More file actions
16 lines (14 loc) · 864 Bytes
/
errors.go
File metadata and controls
16 lines (14 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package tronpayment
import "errors"
var (
ErrInvoiceNotFound = errors.New("tronpayment: invoice not found")
ErrInvoiceExpired = errors.New("tronpayment: invoice has expired")
ErrAllKeysRateLimited = errors.New("tronpayment: all API keys are rate limited")
ErrNoAPIKeys = errors.New("tronpayment: no API keys configured")
ErrInvalidAddress = errors.New("tronpayment: invalid TRON address")
ErrPaymentNotFound = errors.New("tronpayment: no matching payment found")
ErrAmountConflict = errors.New("tronpayment: no available amount offset, too many pending invoices for this amount")
ErrInsufficientAmount = errors.New("tronpayment: received amount is less than expected")
ErrTransactionFailed = errors.New("tronpayment: transaction execution failed")
ErrClientClosed = errors.New("tronpayment: client has been closed")
)