traefik/vendor/github.com/edeckers/auroradnsclient/errors.go

12 lines
259 B
Go
Raw Normal View History

2017-02-07 21:33:23 +00:00
package auroradnsclient
// AuroraDNSError describes the format of a generic AuroraDNS API error
type AuroraDNSError struct {
ErrorCode string `json:"error"`
Message string `json:"errormsg"`
}
func (e AuroraDNSError) Error() string {
return e.Message
}