errors

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFieldHasGapOrOverlapToRightError

func NewFieldHasGapOrOverlapToRightError(
	formatName, wordName, fieldName string,
) (
	e error,
)

func NewFieldLengthOverflowsTypeError

func NewFieldLengthOverflowsTypeError(
	formatName, wordName, fieldName, typeName string,
	typeLength, fieldLength uint,
) (
	e error,
)

func NewFieldMissingStructTagError

func NewFieldMissingStructTagError(formatName, wordName, fieldName string) (
	e error,
)

func NewFieldStructTagMalformedError

func NewFieldStructTagMalformedError(formatName, wordName, fieldName string) (
	e error,
)

func NewFieldTypeUnsupportedError

func NewFieldTypeUnsupportedError(
	formatName, wordName, fieldName, typeName string) (
	e error,
)

func NewFormatHasNoWordsError

func NewFormatHasNoWordsError(formatName string) (e error)

func NewFormatIsNotStructError

func NewFormatIsNotStructError(formatName string) (e error)

func NewInterfaceIsNotPointerError

func NewInterfaceIsNotPointerError(interfaceName string) (e error)

func NewWordHasNoFieldsError

func NewWordHasNoFieldsError(formatName, wordName string) (e error)

func NewWordIsNotStructError

func NewWordIsNotStructError(formatName, wordName string) (e error)

func NewWordLengthExceedsLimitError

func NewWordLengthExceedsLimitError(formatName, wordName string,
	wordLength, wordLengthLimit uint,
) (
	e error,
)

func NewWordLengthNotMultipleOfFactorError

func NewWordLengthNotMultipleOfFactorError(formatName, wordName string,
	wordLength, factor uint,
) (
	e error,
)

func NewWordLengthNotSumOfFieldLengthsError

func NewWordLengthNotSumOfFieldLengthsError(formatName, wordName string,
	wordLength, sumOfFieldLengths uint,
) (
	e error,
)

func NewWordMissingStructTagError

func NewWordMissingStructTagError(formatName, wordName string) (e error)

func NewWordStructTagMalformedError

func NewWordStructTagMalformedError(formatName, wordName string) (e error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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