mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-02 15:10:46 +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
@@ -77,7 +77,7 @@ func (s *Slack) Connect() error {
|
||||
|
||||
// PushEvent pushes an event to either a slack channel or specific client
|
||||
func (s *Slack) PushEvent(base.Event) error {
|
||||
return errors.New("not yet implemented")
|
||||
return common.ErrNotYetImplemented
|
||||
}
|
||||
|
||||
// BuildURL returns an appended token string with the SlackURL
|
||||
|
||||
@@ -60,7 +60,7 @@ func (s *SMSGlobal) Connect() error {
|
||||
|
||||
// PushEvent pushes an event to a contact list via SMS
|
||||
func (s *SMSGlobal) PushEvent(base.Event) error {
|
||||
return errors.New("not yet implemented")
|
||||
return common.ErrNotYetImplemented
|
||||
}
|
||||
|
||||
// GetEnabledContacts returns how many SMS contacts are enabled in the
|
||||
|
||||
@@ -46,7 +46,7 @@ func (s *SMTPservice) Connect() error {
|
||||
|
||||
// PushEvent sends an event to supplied recipient list via SMTP
|
||||
func (s *SMTPservice) PushEvent(base.Event) error {
|
||||
return errors.New("not yet implemented")
|
||||
return common.ErrNotYetImplemented
|
||||
}
|
||||
|
||||
// Send sends an email template to the recipient list via your SMTP host when
|
||||
|
||||
Reference in New Issue
Block a user