errors

package
v1.3.33 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KarmaError

type KarmaError struct {
	KE []models.ErrorMessage
}

func NewKarmaError

func NewKarmaError() *KarmaError

func (*KarmaError) AddError

func (ke *KarmaError) AddError(errorCode int, description, errorMsg, userMsg string, err_level string)

func (*KarmaError) GetError

func (ke *KarmaError) GetError(errorCode int) models.ErrorMessage

func (*KarmaError) WriteErrorsToFile

func (ke *KarmaError) WriteErrorsToFile() error

Jump to

Keyboard shortcuts

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