verror

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Detail

func Detail(ed *util.ErrorDetail, as *app.State, ps *cutil.PageState) string

func StreamDetail

func StreamDetail(qw422016 *qt422016.Writer, ed *util.ErrorDetail, as *app.State, ps *cutil.PageState)

func WriteDetail

func WriteDetail(qq422016 qtio422016.Writer, ed *util.ErrorDetail, as *app.State, ps *cutil.PageState)

Types

type Error

type Error struct {
	layout.Basic
	Err *util.ErrorDetail
}

func (*Error) Body

func (p *Error) Body(as *app.State, ps *cutil.PageState) string

func (*Error) StreamBody

func (p *Error) StreamBody(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)

func (*Error) WriteBody

func (p *Error) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)

type NotFound

type NotFound struct {
	layout.Basic
	Path string
}

func (*NotFound) Body

func (p *NotFound) Body(as *app.State, ps *cutil.PageState) string

func (*NotFound) StreamBody

func (p *NotFound) StreamBody(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)

func (*NotFound) WriteBody

func (p *NotFound) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)

type Unauthorized

type Unauthorized struct {
	layout.Basic
	Path     string
	Message  string
	Accounts user.Accounts
}

func (*Unauthorized) Body

func (p *Unauthorized) Body(as *app.State, ps *cutil.PageState) string

func (*Unauthorized) StreamBody

func (p *Unauthorized) StreamBody(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)

func (*Unauthorized) WriteBody

func (p *Unauthorized) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)

Jump to

Keyboard shortcuts

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