Exception: Exceptions::Notion::InvalidApiKey

Inherits:
StandardError
  • Object
show all
Defined in:
lib/bas/fetcher/notion/exceptions/invalid_api_key.rb

Overview

Provides a domain-specific representation for errors that occurs when an invalid API key is provided for a Notion-related operation.

Instance Method Summary collapse

Constructor Details

#initialize(message = "The provided API token is invalid.") ⇒ InvalidApiKey

Returns a new instance of InvalidApiKey.



10
11
12
# File 'lib/bas/fetcher/notion/exceptions/invalid_api_key.rb', line 10

def initialize(message = "The provided API token is invalid.")
  super(message)
end