title: REST API to pass indexed parameters for error messages
body: <p>I'm designing a client and server system exchanging information using REST API. For i18n, the client to localized while server is always in English. In order to do that, only error code is sent from server to client and client will pick up the correct version of localized error message to display to the user.</p>
  
  <p>Some error messages require indexed parameters. E.g. error message is "Can't find {0} on server {1}". I'm wondering what's the best practice to pass these indexed parameters (i.e. {0}, {1}) along with error code to the client so that the client can create the error message.</p>