Skip to content

Change verify function to return Result<(), VerifyError> #166

Description

@anhelinakruk

The verify function currently returns Result<bool, VerifyError>, which allows ambiguous cases like Ok(false). Consider changing the return type to Result<(), VerifyError> so:

  • Ok(()) indicates success.
  • Err(VerifyError) indicates failure.

This makes the function clearer and easier to use.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions