title: Can Swift enums have multiple raw values?
body: <p>I want to associate two raw values to an enum instance (imagine an enum representing error types, I want <code>Error.Teapot</code> to have an Int type property <code>code</code> with value 418, and a String property set to <code>I'm a teapot</code>.)</p>
  
  <p><em>Note the difference between <a href="https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/Enumerations.html#//apple_ref/doc/uid/TP40014097-CH12-XID_226">raw values</a> and <a href="https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/Enumerations.html#//apple_ref/doc/uid/TP40014097-CH12-XID_226">associated values</a> here—I want all <code>Teapot</code> instances to have a <code>code</code> of 418, I don't want a unique associated value for each <code>Teapot</code> instance.</em></p>
  
  <p>Is there a better way than adding computed properties to the enum that <code>switch</code>ed on <code>self</code> to look up the appropriate value?</p>