(e error)
| 3 | import "code.cloudfoundry.org/cli/v8/api/cloudcontroller/ccerror" |
| 4 | |
| 5 | func EnrichAPIErrors(e error) error { |
| 6 | switch err := e.(type) { |
| 7 | case ccerror.ServiceOfferingNameAmbiguityError: |
| 8 | return ServiceOfferingNameAmbiguityError{err} |
| 9 | default: |
| 10 | return e |
| 11 | } |
| 12 | } |
no outgoing calls
no test coverage detected