Skip to content

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

Closed

Description

@nnegrey

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

Activity

  1. self-assigned this
    on Jan 9, 2020
  2. added
    type: cleanupAn internal cleanup or hygiene concern.
    and removed
    triage meI really want to be triaged.
    on Jan 10, 2020
  3. nnegrey commented on Jan 14, 2020

    @nnegrey
    ContributorAuthor

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

  4. nnegrey commented on Jan 14, 2020

    @nnegrey
    ContributorAuthor

    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

Metadata

Metadata

Assignees

Labels

type: cleanupAn internal cleanup or hygiene concern.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions