errors

package
v0.0.0-...-9cd4eef Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColumnNotFound

func ColumnNotFound(column string) error

ColumnNotFound returns an error to indicate the specified column is not found in the dataframe

func CustomError

func CustomError(msg string) error

CustomError will return a custom error based on the message provided

func CustomWithStandardError

func CustomWithStandardError(msg string, err error) error

CustomWithStandardError will return a custom error massage combined with a standard error message

func DuplicatedColumn

func DuplicatedColumn(column string) error

DuplicatedColumn returns an error to indicate the specified column is already in the dataframe

func IncorrectDataType

func IncorrectDataType(dtype base.DType) error

IncorrectDataType returns an error mentioning the expected type

func IncorrectTypedParameter

func IncorrectTypedParameter(param, expected string) error

IncorrectTypedParameter returns an error mentioning the expected type

func InvalidRowValue

func InvalidRowValue(rowNum int) error

InvalidRowValue returns an error if an incorrect value is found in a series at the given row number

func InvalidSeriesValError

func InvalidSeriesValError(val interface{}, i int, col string) error

InvalidSeriesValError return an error based an error specifying the index and column name

func MismatchedNumOfColumns

func MismatchedNumOfColumns(expected, actual int) error

MismatchedNumOfColumns provides an error mentioning the mismatched number of columns

func MismatchedNumOfRows

func MismatchedNumOfRows(expected, actual int) error

MismatchedNumOfRows provides an error mentioning the mismatched number of columns

func SeriesDataTypeNotPermitted

func SeriesDataTypeNotPermitted(operation string, dtype base.DType) error

SeriesDataTypeNotPermitted return an error specifying whether the series data type permits the given operation

Types

This section is empty.

Jump to

Keyboard shortcuts

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