Exception: Pendragon::NotFound

Inherits:
ResponseError show all
Defined in:
lib/pendragon/error.rb

Overview

A class for NotFound response

Instance Method Summary collapse

Methods inherited from ResponseError

#call, #headers, #initialize

Constructor Details

This class inherits a constructor from Pendragon::ResponseError

Instance Method Details

#bodyObject



46
47
48
# File 'lib/pendragon/error.rb', line 46

def body
  @body ||= "Not Found"
end

#statusObject



42
43
44
# File 'lib/pendragon/error.rb', line 42

def status
  @status ||= 404
end