errors

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnjinError

type EnjinError struct {
	Title   string
	Summary string
	Content string
}

func NewEnjinError

func NewEnjinError(title, summary, content string) *EnjinError

func (*EnjinError) Error

func (e *EnjinError) Error() (message string)

func (*EnjinError) Html

func (e *EnjinError) Html() (html template.HTML)

func (*EnjinError) NjnData

func (e *EnjinError) NjnData() (data map[string]interface{})

Jump to

Keyboard shortcuts

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