Class Evernote::EDAM::Error::EDAMNotFoundException
In: ruby/lib/Evernote/EDAM/errors_types.rb
Parent: ::Thrift::Exception

This exception is thrown by EDAM procedures when a caller asks to perform an operation 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: the object identifier that was not found on the server.

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

  found.  E.g. the GUID of an object that was not found.

Methods

Included Modules

::Thrift::Struct ::Thrift::Struct_Union

Constants

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

Public Instance methods

[Source]

     # File ruby/lib/Evernote/EDAM/errors_types.rb, line 113
113:               def struct_fields; FIELDS; end

[Source]

     # File ruby/lib/Evernote/EDAM/errors_types.rb, line 115
115:               def validate
116:               end

[Validate]