Skip to content

Throw a better error when invalid to target strings are provided #11

@tbarbugli

Description

@tbarbugli

Right now when you provide an invalid to target (eg. "xyz" instead of "user:xyz") the client raises "Index was outside the bounds of the array" error.

We should validate to targets against a regex and throw a nicer error message.

Metadata

Metadata

Assignees

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