/// <summary>
 /// Construct a new exception from the data provided by the server.
 /// </summary>
 /// <param name="error">The Error object returned by the server.</param>
 /// <param name="innerException">The inner web exception that caused this error.</param>
 public AcmeException(Rest.Error error, Exception innerException)
     : base(error.Detail, innerException)
 {
     Type   = error.Type;
     Status = error.Status;
 }
 /// <summary>
 /// Construct a new exception from the data provided by the server.
 /// </summary>
 /// <param name="error">The Error object returned by the server.</param>
 public AcmeException(Rest.Error error)
     : base(error.Detail)
 {
     Type   = error.Type;
     Status = error.Status;
 }