MCPcopy
hub / github.com/wailsapp/wails / Error

Function Error

v2/internal/webview2runtime/webview2runtime.go:138–142  ·  view source on GitHub ↗

Error will an error message to the user. Returns an error if something went wrong.

(caption string, title string)

Source from the content-addressed store, hash-verified

136// Error will an error message to the user.
137// Returns an error if something went wrong.
138func Error(caption string, title string) error {
139 var flags uint = 0x00000010 // MB_ICONERROR
140 _, err := MessageBox(caption, title, flags)
141 return err
142}
143
144// MessageBox prompts the user with the given caption and title.
145// Flags may be provided to customise the dialog.

Callers 6

CallFunction · 0.85
rFunction · 0.85
CallFunction · 0.85
calls.jsFile · 0.85

Calls 1

MessageBoxFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…