mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
Remove unwanted wrapper name stuttering and standardise common error returns (#213)
This commit is contained in:
committed by
Adrian Gallagher
parent
c41f611d96
commit
92534249bf
@@ -34,6 +34,14 @@ import (
|
||||
// Vars for common.go operations
|
||||
var (
|
||||
HTTPClient *http.Client
|
||||
|
||||
// ErrNotYetImplemented defines a common error across the code base that
|
||||
// alerts of a function that has not been completed or tied into main code
|
||||
ErrNotYetImplemented = errors.New("Not Yet Implemented")
|
||||
|
||||
// ErrFunctionNotSupported defines a standardised error for an unsupported
|
||||
// wrapper function by an API
|
||||
ErrFunctionNotSupported = errors.New("Unsupported Wrapper Function")
|
||||
)
|
||||
|
||||
// Const declarations for common.go operations
|
||||
|
||||
Reference in New Issue
Block a user