traefik/vendor/github.com/exoscale/egoscale/error.go
2017-10-31 10:42:03 +01:00

9 lines
180 B
Go

package egoscale
import (
"fmt"
)
func (e *Error) Error() error {
return fmt.Errorf("exoscale API error %d (internal code: %d): %s", e.ErrorCode, e.CSErrorCode, e.ErrorText)
}