()
| 1380 | } |
| 1381 | |
| 1382 | func (e APIError) Error() string { |
| 1383 | if e.Err != nil { |
| 1384 | return e.Err.Error() |
| 1385 | } |
| 1386 | return e.Message |
| 1387 | } |
| 1388 | |
| 1389 | // parseAdminListenAddr extracts a singular listen address from either addr |
| 1390 | // or defaultAddr, returning the network and the address of the listener. |
no outgoing calls