class Sinatra::Base

def not_found(&block)

Sugar for `error(404) { ... }`
def not_found(&block)
  error(404, &block)
  error(Sinatra::NotFound, &block)
end