Exception: Evernote::EDAM::Error::EDAMNotFoundException

Inherits:
Thrift::Exception
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/Evernote/EDAM/errors_types.rb

Overview

an operation on an object that does not exist. This may be thrown based on an invalid primary identifier (e.g. a bad GUID), or when the caller refers to an object by another unique identifier (e.g. a User’s email address).

identifier: A description of the object that was not found on the server.

For example, "Note.notebookGuid" when a caller attempts to create a note in a
notebook that does not exist in the user's account.

key: The value passed from the client in the identifier, which was not

found. For example, the GUID that was not found.

Constant Summary collapse

IDENTIFIER =
1
KEY =
2
FIELDS =
{
  IDENTIFIER => {:type => ::Thrift::Types::STRING, :name => 'identifier', :optional => true},
  KEY => {:type => ::Thrift::Types::STRING, :name => 'key', :optional => true}
}

Constants included from Thrift::Struct_Union

Thrift::Struct_Union::CONTAINER_TYPES

Instance Attribute Summary

Attributes inherited from Thrift::Exception

#message

Instance Method Summary collapse

Methods included from Thrift::Struct

#<=>, #==, #differences, #eql?, field_accessor, #fields_with_default_values, generate_accessors, #hash, #initialize, #inspect, qmark_isset_method, #read, #write

Methods included from Thrift::Struct_Union

#each_field, #field_info, #inspect_collection, #inspect_field, #is_container?, #name_to_id, #read_field, #sorted_field_ids, #write_container, #write_data

Methods inherited from Thrift::Exception

#initialize

Instance Method Details

#struct_fieldsObject



130
# File 'lib/Evernote/EDAM/errors_types.rb', line 130

def struct_fields; FIELDS; end

#validateObject



132
133
# File 'lib/Evernote/EDAM/errors_types.rb', line 132

def validate
end