exceptions

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 3, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package exceptions provides error types used throughout Hexya

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserError

type UserError struct {
	Message string
	Debug   string
}

UserError is an error that must rollback the current transaction and be displayed as a warning to the user.

func (UserError) Error

func (u UserError) Error() string

Error method for the UserError type. Returns the message.

Jump to

Keyboard shortcuts

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