MCPcopy
hub / github.com/benbjohnson/wtf / Alert

Struct Alert

http/html/html.go:17–19  ·  view source on GitHub ↗

Alert displays an error message.

Source from the content-addressed store, hash-verified

15
16// Alert displays an error message.
17type Alert struct {
18 Err error
19}
20
21func (r *Alert) Render(ctx context.Context, w io.Writer) {
22 if r.Err == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected