error_view

package
v0.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2026 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

func New

func New(styles Styles) *Model

func (*Model) HasErr

func (m *Model) HasErr() bool

func (*Model) SetErr

func (m *Model) SetErr(err error)

func (*Model) View

func (m *Model) View() string

type Styles

type Styles struct {
	ErrorStyle          lipgloss.Style
	UnwrappedErrorStyle lipgloss.Style
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL