Skip to content

Throw descriptive edge operator error on ACDC edge operator validation failure and add logging #885

Open
@kentbull

Description

Feature request description/rationale

The existing code throws a MissingChainError error when edge validation fails when no edge operator is specified. Due to the default edge operation being and the I2I operator when the op is None then the failure is currently confusing.

What would be useful for the user of KERIpy is to see an error specific to edge operator validation failure like an EdgeOperatorValidationError or something like that and it would also be useful to show the occurrence of this error in a log message. Showing such errors in the logs would help avoid duplicate issues like #775.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions