exceptions

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2018 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