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

fix: rethrow TypeBoxError instead of creating a new one #777

Closed
wants to merge 1 commit into from

Commits on Mar 8, 2024

  1. fix: rethrow TypeBoxError instead of creating a new one

    Valuable information is lost by creating a TransformEncodeError/TransformDecodeError instead of rethrowing the error when it‘s a TypeBoxError, because that error may be a TransformEncodeCheckError/TransformDecodeCheckError, which have an `error` property that tells the caller which property path is the cause.
    aleclarson committed Mar 8, 2024
    Copy the full SHA
    93ae73e View commit details
    Browse the repository at this point in the history