dlang-community / D-YAML

YAML parser and emitter for the D programming language
https://dlang-community.github.io/D-YAML/
Boost Software License 1.0
119 stars 37 forks source link

Add MarkedYAMLException#mark #278

Closed tom-tan closed 2 years ago

tom-tan commented 2 years ago

This request adds MarkedYAMLException#mark. It is useful for debugging and also enables users of D-YAML to make fine-grained error messages.

codecov[bot] commented 2 years ago

Codecov Report

Merging #278 (c5fac9c) into master (a680555) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #278   +/-   ##
=======================================
  Coverage   95.99%   95.99%           
=======================================
  Files          28       28           
  Lines        4066     4068    +2     
=======================================
+ Hits         3903     3905    +2     
  Misses        163      163           
Impacted Files Coverage Δ
source/dyaml/exception.d 76.19% <100.00%> (+2.50%) :arrow_up:

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 a680555...c5fac9c. Read the comment docs.

tom-tan commented 2 years ago

Thanks!