exception

package
v0.0.0-...-d2a41d4 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColLenError

type ColLenError struct {
	// contains filtered or unexported fields
}

func ColLen

func ColLen(long int, short int) *ColLenError

func (ColLenError) Error

func (e ColLenError) Error() string

func (ColLenError) String

func (e ColLenError) String() string

type ColumnDoNotExistError

type ColumnDoNotExistError struct {
	// contains filtered or unexported fields
}

func ColumnDoNotExist

func ColumnDoNotExist(name string) *ColumnDoNotExistError

func (ColumnDoNotExistError) Error

func (e ColumnDoNotExistError) Error() string

func (*ColumnDoNotExistError) Name

func (e *ColumnDoNotExistError) Name() string

func (ColumnDoNotExistError) String

func (e ColumnDoNotExistError) String() string

type ColumnsLengthError

type ColumnsLengthError struct {
	// contains filtered or unexported fields
}

func ColumnsLength

func ColumnsLength() *ColumnsLengthError

func (ColumnsLengthError) Error

func (e ColumnsLengthError) Error() string

func (ColumnsLengthError) String

func (e ColumnsLengthError) String() string

type FileDoNotExistError

type FileDoNotExistError struct {
	// contains filtered or unexported fields
}

func FileDoNotExist

func FileDoNotExist(path string) *FileDoNotExistError

func (FileDoNotExistError) Filename

func (err FileDoNotExistError) Filename() string

type NoMoreRowError

type NoMoreRowError struct {
	// contains filtered or unexported fields
}

func NoMoreRow

func NoMoreRow(pn int) *NoMoreRowError

func (NoMoreRowError) Error

func (e NoMoreRowError) Error() string

func (NoMoreRowError) String

func (e NoMoreRowError) String() string

type NotARegularCSVFileError

type NotARegularCSVFileError struct {
	// contains filtered or unexported fields
}

func NotARegularCSVFile

func NotARegularCSVFile(path string) *NotARegularCSVFileError

func (NotARegularCSVFileError) Filename

func (err NotARegularCSVFileError) Filename() string

type NotARegularJSONFileError

type NotARegularJSONFileError struct {
	// contains filtered or unexported fields
}

func NotARegularJSONFile

func NotARegularJSONFile(path string) *NotARegularJSONFileError

func (NotARegularJSONFileError) Filename

func (err NotARegularJSONFileError) Filename() string

type NotGotableJSONFormatError

type NotGotableJSONFormatError struct {
	// contains filtered or unexported fields
}

func NotGotableJSONFormat

func NotGotableJSONFormat(path string) *NotGotableJSONFormatError

func (NotGotableJSONFormatError) Filename

func (err NotGotableJSONFormatError) Filename() string

type PartNumberError

type PartNumberError struct {
	// contains filtered or unexported fields
}

func PartNumber

func PartNumber(partLen int) *PartNumberError

func (PartNumberError) Error

func (e PartNumberError) Error() string

func (PartNumberError) String

func (e PartNumberError) String() string

type RowLengthNotEqualColumnsError

type RowLengthNotEqualColumnsError struct {
	// contains filtered or unexported fields
}

func RowLengthNotEqualColumns

func RowLengthNotEqualColumns(rowLength, columnLength int) *RowLengthNotEqualColumnsError

func (RowLengthNotEqualColumnsError) Error

func (e RowLengthNotEqualColumnsError) Error() string

func (RowLengthNotEqualColumnsError) String

func (e RowLengthNotEqualColumnsError) String() string

type UnSupportedFileTypeError

type UnSupportedFileTypeError struct {
	// contains filtered or unexported fields
}

func UnSupportedFileType

func UnSupportedFileType(path string) *UnSupportedFileTypeError

func (UnSupportedFileTypeError) Filename

func (err UnSupportedFileTypeError) Filename() string

type UnsupportedRowTypeError

type UnsupportedRowTypeError struct {
	// contains filtered or unexported fields
}

func UnsupportedRowType

func UnsupportedRowType(t interface{}) *UnsupportedRowTypeError

func (UnsupportedRowTypeError) Error

func (e UnsupportedRowTypeError) Error() string

func (UnsupportedRowTypeError) String

func (e UnsupportedRowTypeError) String() string

func (*UnsupportedRowTypeError) Type

func (e *UnsupportedRowTypeError) Type() string

Jump to

Keyboard shortcuts

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