equinox icon indicating copy to clipboard operation
equinox copied to clipboard

Move `EQX_ON_ERROR` description into `error_if`.

Open patrick-kidger opened this issue 4 months ago • 0 comments

Right now the information about EQX_ON_ERROR is added when the error is caught and re-raised by eqx.filter_jit. But for compatibility with jax.jit then I think we could probably just append the extra information to all errors raised by error_if.

patrick-kidger avatar Feb 08 '24 11:02 patrick-kidger