Skip to content

Add / improve custom exceptions #1871

@AndreiKingsley

Description

@AndreiKingsley

Now we use mostly error, require or throw common exceptions. We should introduce custom exceptions.

We have some:
https://github.com/Kotlin/dataframe/tree/master/core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/exceptions
but most cases are not covered / not used.
We have https://github.com/Kotlin/dataframe/blob/master/core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/exceptions/ColumnNotFoundException.kt
that are not used anywhere!

It can also significantly improve DF debugging — exception should contain df/row/column field for that purpose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIIf it touches our API

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions