8000 Expose Retry-After value into the exception · Issue #362 · notion-dotnet/notion-sdk-net · GitHub
[go: up one dir, main page]

Skip to content
Expose Retry-After value into the exception #362
Closed
@Poltuu

Description

@Poltuu

Is your feature request related to a problem? Please describe.
Notion exposes a Retry-After after when reaching the rate limit. But the library hides it, forcing the developer to guess as to when to retry.

Describe the solution you'd like
Ideally, the NotionApiException should expose the value, probably as a Timespan?.

Describe alternatives you've considered
We could also consider adding a RateLimitNotionApiException : NotionApiException exception class for this use case.

Additional context
The doc

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0