forked from ServiceStack/ServiceStack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathResponseError.cs
More file actions
31 lines (27 loc) · 800 Bytes
/
ResponseError.cs
File metadata and controls
31 lines (27 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
// $Id: ResponseError.cs 11037 2010-02-03 12:36:14Z Demis Bellot $
//
// Revision : $Revision: 11037 $
// Modified Date : $LastChangedDate: 2010-02-03 12:36:14 +0000 (Wed, 03 Feb 2010) $
// Modified By : $LastChangedBy: Demis Bellot $
//
// (c) Copyright 2010 Liquidbit Ltd
*/
using System.Runtime.Serialization;
namespace ServiceStack.ServiceInterface.ServiceModel
{
/// <summary>
/// Error information pertaining to a particular named field.
/// Used for returning multiple field validation errors.s
/// </summary>
[DataContract]
public class ResponseError
{
[DataMember(Order = 1)]
public string ErrorCode { get; set; }
[DataMember(Order = 2)]
public string FieldName { get; set; }
[DataMember(Order = 3)]
public string Message { get; set; }
}
}