Exception: Notion::APIResponseError

Inherits:
NotionError
  • Object
show all
Defined in:
lib/notion-sdk-ruby/error.rb

Instance Attribute Summary

Attributes inherited from NotionError

#body, #message

Instance Method Summary collapse

Methods inherited from NotionError

#initialize

Constructor Details

This class inherits a constructor from Notion::NotionError

Instance Method Details

#codeObject



48
49
50
# File 'lib/notion-sdk-ruby/error.rb', line 48

def code
  body["code"]
end