old_contents: /*
   * Copyright (c) 2013 Timo Behrmann. All rights reserved.
   */
  
  module.exports.handle = function (errors, req, res, options, next) {
      return res.send(400, {
          status: 'validation failed',
          errors: errors
      });
  };
new_contents: /*
   * Copyright (c) 2013 Timo Behrmann. All rights reserved.
   */
  
  var handler = require('node-restify-errors');
  
  module.exports.handle = function (errors, req, res, options, next) {
      return res.send(new handler.InvalidContentError(errors));
  };
  
subject: Update error.js