customErrors

package
v0.0.0-...-b10e7cb Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2018 License: BSD-3-Clause Imports: 1 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccError

type AccError struct {
	Account string
}

AccError provides error for when an account given to the database is not supported.

func (AccError) Error

func (err AccError) Error() string

type AccountAlreadyUsed

type AccountAlreadyUsed struct {
	Mail string
}

func (*AccountAlreadyUsed) Error

func (err *AccountAlreadyUsed) Error() string

type ConfigNotChargedCorrectlyError

type ConfigNotChargedCorrectlyError struct {
	Message string
}

func (ConfigNotChargedCorrectlyError) Error

type DecodedError

type DecodedError struct {
	Message string
}

DecodedError TODO

func (DecodedError) Error

func (err DecodedError) Error() string

type EmptyValueError

type EmptyValueError struct {
}

EmptyValueError TODO

func (EmptyValueError) Error

func (err EmptyValueError) Error() string

type NotFoundError

type NotFoundError struct {
	Message string
}

func (*NotFoundError) Error

func (err *NotFoundError) Error() string

type RowsError

type RowsError struct {
	Expected int64
	Received int64
	Message  string
}

RowsError provides error for when the rows affected on an db.Exec differ from the ones you expect

func (RowsError) Error

func (err RowsError) Error() string

type WrongKindError

type WrongKindError struct {
	Mail string
}

func (*WrongKindError) Error

func (err *WrongKindError) Error() string

Jump to

Keyboard shortcuts

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