mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-09-16 09:16:26 +02:00
Rename Error() to ErrorHandler()
It is now only used as the error handler that is passed to gocui.Gui on construction; it's not a client-facing API any more. Also, it doesn't have to handle gocui.ErrQuit, as gocui takes care of that.
This commit is contained in:
@@ -135,7 +135,8 @@ type IPopupHandler interface {
|
||||
//
|
||||
// This is a convenience wrapper around Alert().
|
||||
ErrorMsg(message string) error
|
||||
Error(err error) 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.
|
||||
//
|
||||
// This is a convenience wrapper around Confirm(), thus the popup can be closed using both 'Enter' and 'ESC'.
|
||||
|
Reference in New Issue
Block a user