Skip to content

🚀 Enhancement: Enum AppwriteExceptionType #10217

Closed as duplicate
Closed as duplicate

Description

@rostlino

🔖 Enhancement description

Create AppwriteExceptionType enum

export declare enum AppwriteExceptionType {
    GENERAL_QUERY_LIMIT_EXCEEDED = "general_query_limit_exceeded",
    USER_PHONE_NOT_FOUND = "user_phone_not_found",
    ...
}

🎤 Pitch

Usage of enums are safer than strings.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

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