Skip to content

jerk:get_value/2 should raise a different error when the attribute is undefined #3

@wfvining

Description

@wfvining

Currently fails with error(badarg); however, this is ambiguous because it could also mean that a value that is not a Jerk term was passed or a attribute name that is not a binary. It would be better to differentiate between these cases and the case where an attribute is undefined by raising something like badattribute instead of badarg.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions