orval-labs/orval

Docs: throwOnError option needs documentation in the official docs

Closed

#3,364 opened on May 16, 2026

 (4 comments) (0 reactions) (0 assignees)TypeScript (648 forks)auto 404
documentationgood first issue

Repository metrics

Stars
 (6,272 stars)
PR merge metrics
 (Avg merge 2d 15h) (73 merged PRs in 30d)

Description

Describe the issue

The throwOnError option was recently added to GlobalOptions for the generate() function. This option changes error handling behavior but is not yet documented in the official orval documentation website.

Suggested improvement

Document the throwOnError option in:

  1. The API reference for generate()
  2. The configuration options page
  3. Any relevant guides about programmatic usage

Include a code example showing how to use it for custom error handling.

Contributor guide