errors

package
v1.5.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataTypeError

type DataTypeError struct {
	ExpectedType string
}

func (DataTypeError) Error

func (e DataTypeError) Error() string

type DecodeError

type DecodeError struct {
	Err error
}

func (DecodeError) Error

func (e DecodeError) Error() string

type InternalError

type InternalError struct {
	Message string
}

InternalError is returned when there is internal issue

func (InternalError) Error

func (e InternalError) Error() string

type InvalidMigrationVersion

type InvalidMigrationVersion struct {
	Version string
	Err     error
}

func (InvalidMigrationVersion) Error

func (e InvalidMigrationVersion) Error() string

type KeyNotFound

type KeyNotFound struct {
	Key     string
	Message string
}

func (KeyNotFound) Error

func (e KeyNotFound) Error() string

type ValueFormatError

type ValueFormatError struct {
	Key   string
	Value interface{}
}

func (ValueFormatError) Error

func (e ValueFormatError) Error() string

Jump to

Keyboard shortcuts

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