Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error details from python errors PydanticValueError #185

Merged
merged 7 commits into from
Jul 21, 2022

Conversation

samuelcolvin
Copy link
Member

@samuelcolvin samuelcolvin commented Jul 21, 2022

fix #183

Good start, #187 summaries extensions to this.

@codecov
Copy link

codecov bot commented Jul 21, 2022

Codecov Report

Merging #185 (07c6be4) into main (9caaaed) will increase coverage by 0.07%.
The diff coverage is 99.19%.

@@            Coverage Diff             @@
##             main     #185      +/-   ##
==========================================
+ Coverage   97.96%   98.04%   +0.07%     
==========================================
  Files          45       46       +1     
  Lines        4477     4501      +24     
  Branches       32       32              
==========================================
+ Hits         4386     4413      +27     
+ Misses         91       88       -3     
Impacted Files Coverage Δ
src/errors/mod.rs 92.30% <ø> (ø)
src/errors/validation_exception.rs 98.00% <94.44%> (+1.84%) ⬆️
pydantic_core/__init__.py 100.00% <100.00%> (ø)
src/errors/kinds.rs 99.06% <100.00%> (+0.05%) ⬆️
src/errors/line_error.rs 94.28% <100.00%> (ø)
src/errors/value_exception.rs 100.00% <100.00%> (ø)
src/input/input_python.rs 98.37% <100.00%> (-0.07%) ⬇️
src/lib.rs 100.00% <100.00%> (ø)
src/validators/function.rs 96.72% <100.00%> (+0.32%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9caaaed...07c6be4. Read the comment docs.

@samuelcolvin samuelcolvin changed the title error details from python errors, PydanticValueError error details from python errors PydanticValueError Jul 21, 2022
@samuelcolvin samuelcolvin marked this pull request as ready for review July 21, 2022 16:31
@samuelcolvin samuelcolvin merged commit 663fdee into main Jul 21, 2022
@samuelcolvin samuelcolvin deleted the pydantic-value-error branch July 21, 2022 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python Exception for custom kind and message
1 participant