package
Version:
v0.6.1
Opens a new window with list of versions in this module.
Published: Nov 17, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package errorview implements a view that displays errors in a user-friendly
way. Pressing any key in this view will exit the program.
type ErrorView interface {
Title() string
Description() string
OriginalError() error
}
ErrorView is a type that can be used to render an error.
Model is the model for the error view.
New creates a new error view.
SetError sets the error to be displayed.
Update is called by bubbletea every time there is a new event.
View renders the error view.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.