class Tilia::Dav::Exception::TooManyMatches

TooManyMatches

This exception is emited for the {DAV:}number-of-matches-within-limits post-condition, as defined in rfc6578, section 3.2.

Public Instance Methods

serialize(_server, error_node) click to toggle source

This method allows the exception to include additional information into the WebDAV error response

@param DAVServer server @param DOMElement error_node @return void

# File lib/tilia/dav/exception/too_many_matches.rb, line 14
def serialize(_server, error_node)
  error = LibXML::XML::Node.new('d:number-of-matches-within-limits')
  error_node << error
end