Skip to content

ErlangError is greedy #2166

@fishcakez

Description

@fishcakez

When rescuing ErlangError will rescue any error that isn't an exception. Should it be document as greedy? Or is it a bug?

try do :erlang.error(:badarg) rescue ArgumentError -> :badarg end
try do :erlang.error(:badarg) rescue ErlangError -> :greedy end 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions