Skip to content

Commit

Permalink
Update sources/platform/actors/development/actor_definition/dataset_s…
Browse files Browse the repository at this point in the history
…chema/validation.md

Co-authored-by: Michał Olender <[email protected]>
  • Loading branch information
katacek and TC-MO authored Dec 5, 2024
1 parent 12142db commit df06398
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ If the validation succeeds, nothing changes from the current behavior, data is s
}
```

The type of the AJV validation error object is [here](https://github.com/ajv-validator/ajv/blob/master/lib/types/index.ts#L86)
The type of the AJV validation error object is [here](https://github.com/ajv-validator/ajv/blob/master/lib/types/index.ts#L86).

If you use the Apify JS client or Apify SDK and call `pushData` function you can access the validation errors in a `try catch` block like this:

Expand Down

0 comments on commit df06398

Please sign in to comment.