()
| 22 | } |
| 23 | |
| 24 | func (e *APIEnablementError) Error() string { |
| 25 | return fmt.Sprintf("API '%s' is not enabled", e.APIName) |
| 26 | } |
| 27 | |
| 28 | // ParseAPIEnablementError checks if an error is due to a disabled API |
| 29 | // and extracts the relevant information |
no outgoing calls