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



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

def error_message; "Not Found Error" end

#statusObject



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

def status; 404 end