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

In vision samples add error check, since the error isn't thrown by default #2704

Closed
nnegrey opened this issue Jan 9, 2020 · 2 comments
Closed
Assignees
Labels
type: cleanup An internal cleanup or hygiene concern.

Comments

@nnegrey
Copy link
Contributor

nnegrey commented Jan 9, 2020

PR this first came up: #2569

Perform an error check on all sample code for something like this:

error {
  code: 3
  message: "The URL does not appear to be accessible by us. Please double check or download the content and pass it in."
}

Then republish docs

@nnegrey nnegrey self-assigned this Jan 9, 2020
@yoshi-automation yoshi-automation added the triage me I really want to be triaged. label Jan 10, 2020
@busunkim96 busunkim96 added type: cleanup An internal cleanup or hygiene concern. and removed triage me I really want to be triaged. labels Jan 10, 2020
@nnegrey
Copy link
Contributor Author

nnegrey commented Jan 14, 2020

Another interesting note, not all methods have an error, they just return no results.

@nnegrey
Copy link
Contributor Author

nnegrey commented Jan 14, 2020

Methods that have no error:

  1. object_localization - (beta and GA)

Methods that will throw an error:

  1. batch_annotate_files (beta)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: cleanup An internal cleanup or hygiene concern.
Projects
None yet
Development

No branches or pull requests

3 participants