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
Click to show internal directories.
Click to hide internal directories.