class Tilia::Dav::Exception::ReportNotSupported

ReportNotSupported

This exception is thrown when the client requested an unknown report through the REPORT method

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/report_not_supported.rb, line 14
def serialize(_server, error_node)
  error = LibXML::XML::Node.new('d:supported-report')
  error_node << error
end