Skip to content

Raise Julia errors rather than crashing on Assertion failures #1634

@mhauru

Description

@mhauru

As discussed in TuringLang/Bijectors.jl#318, in cases like https://github.com/TuringLang/Bijectors.jl/actions/runs/9871431348/job/27259337160?pr=318 (Assertion 'unwrapMode != UnwrapMode::LegalFullUnwrap' failed.) it would be preferable to raise a Julia error rather than abort.

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions