Skip to content

Character and Learner both have a verify_from() method that raises different exceptions with the same name #2203

@cygnusv

Description

@cygnusv

We have:

  • Character.verify_from() that raises cryptography.exceptions.InvalidSignature
  • Learner.verify_from() that raises Learner.InvalidSignature
    In the context of an object that is both a Character and a Learner, it seems extremely confusing.

Originally posted by @cygnusv in #2177 (comment)

Metadata

Metadata

Assignees

Labels

Code Quality 🔧Pertaining to code quality improvements

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions