Sinatra doesn’t know this ditty.
Try this:
# in exceptions_api.rb class Api get '/46.html' do "Hello World" end end