Error returns the truncated error (if any) that occurred when loading the context.
()
| 81 | |
| 82 | // Error returns the truncated error (if any) that occurred when loading the context. |
| 83 | func (c *clientContextContext) Error() string { |
| 84 | // TODO(thaJeztah) add "--no-trunc" option to context ls and set default to 30 cols to match "docker service ps" |
| 85 | return Ellipsis(c.c.Error, maxErrLength) |
| 86 | } |