class Tilia::DavAcl::Exception::AceConflict

This exception is thrown when a client attempts to set conflicting permissions.

Public Instance Methods

serialize(_server, error_node) click to toggle source

Adds in extra information in the xml response.

This method adds the {DAV:}no-ace-conflict element as defined in rfc3744

@param DAVServer server @param DOMElement error_node @return void

# File lib/tilia/dav_acl/exception/ace_conflict.rb, line 14
def serialize(_server, error_node)
  error = LibXML::XML::Node.new('d:no-ace-conflict')
  error_node << error
end