Skip to content

Define and use a base Exception class for the package #49

@KlaasH

Description

@KlaasH

There are several places where this raises a custom exception with raise Exception(...), e.g.

raise Exception('Must specify both client_id and client_secret to use authentication')
.

Making users of the package catch Exception is not very nice. Even if we don't need subtypes, we should define a base Exception class for the package so that people can make their exception handling more specific.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions