forked from ServiceStack/ServiceStack
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathResponseError.cs
More file actions
32 lines (28 loc) · 711 Bytes
/
ResponseError.cs
File metadata and controls
32 lines (28 loc) · 711 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
32
//
// ServiceStack
//
// Authors:
// Demis Bellot (demis.bellot@gmail.com)
//
// Copyright 2013 ServiceStack
//
// Licensed under the new BSD license.
//
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; }
}
}