traefik/vendor/github.com/edeckers/auroradnsclient/errors.go
2017-03-09 13:13:02 +01:00

11 lines
259 B
Go

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
}