::Thrift::Exception
This exception is thrown by EDAM procedures when a call fails as a result of an a problem in the service that could not be changed through user action.
errorCode: The numeric code indicating the type of error that occurred.
must be one of the values of EDAMErrorCode.
message: This may contain additional information about the error
# File /tmp/buildd/evernote-mode-0.10/ruby/lib/Evernote/EDAM/errors_types.rb, line 82 82: def struct_fields; FIELDS; end
# File /tmp/buildd/evernote-mode-0.10/ruby/lib/Evernote/EDAM/errors_types.rb, line 84 84: def validate 85: raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field errorCode is unset!') unless @errorCode 86: unless @errorCode.nil? || Evernote::EDAM::Error::EDAMErrorCode::VALID_VALUES.include?(@errorCode) 87: raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field errorCode!') 88: end 89: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.