Skip to content

Create custom error classes for better error handling #9

@panda-sandeep

Description

@panda-sandeep

All errors are generic Error instances, making it impossible for users to programmatically distinguish between Redis failures, AI API timeouts, Playwright action failures, and validation errors. Create a PassmarkError base class with specific subclasses (TimeoutError, AIModelError, CacheError, ValidationError) each with an error code property.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions