NotionClientRequestException

Exception thrown when a Notion API request fails with an error response.

This exception wraps details about the error returned by the Notion API, including the error code, message, HTTP status, and any additional details provided by the API.

Constructors

Link copied to clipboard
constructor(cause: Throwable?)

Properties

Link copied to clipboard
open override val cause: Throwable?

The underlying cause of the error (e.g., a network or HTTP exception).

Link copied to clipboard
open override val message: String

The error message returned by the Notion API, or a generic message if not available.

Functions

Link copied to clipboard
open override fun toString(): String