Exception: NotionAPI::Core::InvalidClientInstantiationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/notion_api/core.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = "Custom exception that is raised when an invalid property type is passed as a mapping.", exception_type = "instantiation_type") ⇒ InvalidClientInstantiationError

Returns a new instance of InvalidClientInstantiationError.



319
320
321
322
# File 'lib/notion_api/core.rb', line 319

def initialize(msg = "Custom exception that is raised when an invalid property type is passed as a mapping.", exception_type = "instantiation_type")
  @exception_type = exception_type
  super(msg)
end