extract pork/error.rb