Exception: Traim::NotFoundError

Inherits:
Error
  • Object
show all
Defined in:
lib/traim.rb

Instance Method Summary collapse

Methods inherited from Error

#body, #header, #initialize

Constructor Details

This class inherits a constructor from Traim::Error

Instance Method Details

#error_messageObject



218
# File 'lib/traim.rb', line 218

def error_message; "Not Found Error" end

#statusObject



219
# File 'lib/traim.rb', line 219

def status; 404 end