()
| 38 | } |
| 39 | |
| 40 | func (e *WatchError) Error() string { |
| 41 | if e.Details != "" { |
| 42 | return fmt.Sprintf("%s: %s", e.Message, e.Details) |
| 43 | } |
| 44 | return e.Message |
| 45 | } |
| 46 | |
| 47 | type BuildUpdate struct { |
| 48 | Transition codersdk.WorkspaceTransition `json:"transition"` |
no outgoing calls