mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
* Add pkg/domain to just tidy * Remove sharedconfig package in order to make polling period purely an engine concern * Register plugins more explicitly in registry rather than relying on init() blocks at import time * Update connector templates * Start using pkg/domain imports for error and NewBasePlugin
14 lines
488 B
Go
14 lines
488 B
Go
package plugins
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
ErrNotImplemented = errors.New("not implemented")
|
|
ErrNotYetInstalled = errors.New("not yet installed")
|
|
ErrInvalidClientRequest = errors.New("invalid client request")
|
|
ErrUpstreamRatelimit = errors.New("rate limited by upstream server")
|
|
ErrUpstreamTimeout = errors.New("upstream timeout")
|
|
ErrUpstreamRetryAfter = errors.New("upstream asked to retry later")
|
|
ErrCurrencyNotSupported = errors.New("currency not supported")
|
|
)
|