Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throw more descriptive error when user has not included pica in their html #302

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ShreyashKore
Copy link

@ShreyashKore ShreyashKore commented May 11, 2024

Currently, if pica is not included in the HTML we get null is not subtype of Function which might not be clear to new users.

@CaiJingLong
Copy link
Member

Good job.

In this case, should we provide clearer guidance in error messages?
For example, tell users where to view documents or how to add them?

@ShreyashKore
Copy link
Author

I think guiding users to read documentation seems better than providing a link to pica.js. Do you want me to add link to pub.dev page or the github readme?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants