porte the ruby/rack plugin to the new exception api