Skip to content

Literals should raise a more friendly error message #2160

Description

@rambleraptor

We should find a way to make sure that incorrect Literals raise a friendlier error message than the standard Pydantic error message. Pydantic might be able to do this for us.

Context: #2154 (comment)

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions