Use typed-error to generate the custom error, this way we get proper stack traces.
0.1.1