Exception: Tilia::Dav::Exception::NotFound

Inherits:
Tilia::Dav::Exception show all
Defined in:
lib/tilia/dav/exception/not_found.rb

Overview

NotFound

This Exception is thrown when a Node couldn’t be found. It returns HTTP error code 404

Instance Method Summary collapse

Methods inherited from Tilia::Dav::Exception

#http_headers, #serialize

Instance Method Details

#http_codeObject

Returns the HTTP statuscode for this exception

Returns:

  • int



12
13
14
# File 'lib/tilia/dav/exception/not_found.rb', line 12

def http_code
  404
end