Skip to content
This repository was archived by the owner on Sep 22, 2022. It is now read-only.
This repository was archived by the owner on Sep 22, 2022. It is now read-only.

It should be TypeError not ValueError #12

@GreatBahram

Description

@GreatBahram

raise ValueError("accept string type")

I think the message should be better than this, since we don't have string type in python. something like
"string must be str, not {}".format(string.__class__.__name__)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions