chart_me.errors

A collection of custom errors used in Chart Me

helpful url found here: https://www.programiz.com/python-programming/user-defined-exception reminder: default behavior accepts a message

Exceptions

ColumnDoesNotExistsError

Implementation to track if column not found in pandas

ColumnAllNullError

Implementation of error if column is all nulls

ColumnTooManyNullsError

Implementation of error if columns has too many nulls

InsufficientValidColumnsError

Implementation of error if there's no valid columns to chart

Module Contents

exception chart_me.errors.ColumnDoesNotExistsError[source]

Bases: Exception

Implementation to track if column not found in pandas

exception chart_me.errors.ColumnAllNullError[source]

Bases: Exception

Implementation of error if column is all nulls

exception chart_me.errors.ColumnTooManyNullsError(null_rate, message='Null Rate below Threshold')[source]

Bases: Exception

Implementation of error if columns has too many nulls

__str__()[source]

Override string representations

exception chart_me.errors.InsufficientValidColumnsError[source]

Bases: Exception

Implementation of error if there’s no valid columns to chart