MCPcopy Create free account
hub / github.com/charmbracelet/bubbletea / Error

Method Error

tutorials/commands/main.go:36–36  ·  view source on GitHub ↗

For messages that contain errors it's often handy to also implement the error interface on the message.

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected