Exception: Evernote::EDAM::Error::EDAMNotFoundException
- Inherits:
-
Thrift::Exception
- Object
- StandardError
- Thrift::Exception
- Evernote::EDAM::Error::EDAMNotFoundException
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/Evernote/EDAM/errors_types.rb
Overview
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.
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
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
Instance Method Details
#struct_fields ⇒ Object
118 |
# File 'lib/Evernote/EDAM/errors_types.rb', line 118 def struct_fields; FIELDS; end |
#validate ⇒ Object
120 121 |
# File 'lib/Evernote/EDAM/errors_types.rb', line 120 def validate end |