For messages that contain errors it's often handy to also implement the error interface on the message.
()
| 34 | // For messages that contain errors it's often handy to also implement the |
| 35 | // error interface on the message. |
| 36 | func (e errMsg) Error() string { return e.err.Error() } |
| 37 | |
| 38 | func (m model) Init() tea.Cmd { |
| 39 | return checkServer |
nothing calls this directly
no outgoing calls
no test coverage detected