mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-09-16 09:16:26 +02:00
Remove ErrorMsg
There is no reason any more for application code to show error messages in a panel. Just return an error instead.
This commit is contained in:
@@ -131,10 +131,6 @@ type IModeMgr interface {
|
||||
}
|
||||
|
||||
type IPopupHandler interface {
|
||||
// Shows a popup with a (localized) "Error" caption and the given error message (in red).
|
||||
//
|
||||
// This is a convenience wrapper around Alert().
|
||||
ErrorMsg(message string) error
|
||||
// The global error handler for gocui. Not to be used by application code.
|
||||
ErrorHandler(err error) error
|
||||
// Shows a notification popup with the given title and message to the user.
|
||||
|
Reference in New Issue
Block a user