Skip to content

throw Error for ISO search #39

@triori

Description

@triori

Hi there,
My point if you return null in other case, why you throw new Error in ISO case?
throw new Error('cannot determine ISO code type') in ISO case
VS
return null for other cases.
I think it is unexpectable result, isn't it?

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