Expose validation errors

Open Beginner friendly
#402 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
76/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
api

Research direction

Trace where SchemaError and ValidationError are defined and how dataframely’s public namespace is assembled. Add a focused pytest check that both are importable as dy.SchemaError and dy.ValidationError and usable in pytest.raises as shown.

Written by the indexing model from the issue text.

Description

It would be useful if the validation errors (SchemaError and ValidationError) would be exported so that the errors could be referenced, e.g. with pytest.raises((dy.SchemaError, dy.ValidationError)):.

Dominant language
Python
Stars
618
Forks
21
Avg merge
14h 34m
Merged PRs (30d)
7

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Quantco/dataframely

All issues in Quantco/dataframely

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.