Class RepositoryError
Represents a repository error message.
Inherited Members
Namespace: Algenta.Colectica.Model.Repository
Assembly: Algenta.Colectica.Model.dll
Syntax
[Serializable]
[DataContract(Namespace = "http://ns.colectica.com/2009/07/")]
public class RepositoryError
Constructors
RepositoryError()
Initializes a new instance of the RepositoryError class.
Declaration
public RepositoryError()
RepositoryError(string, string)
Initializes a new instance of the RepositoryError class.
Declaration
public RepositoryError(string errorCode, string message)
Parameters
Type | Name | Description |
---|---|---|
string | errorCode | The error code. |
string | message | The error message. |
Properties
ErrorCode
Gets or sets the error code.
Declaration
[DataMember]
public string ErrorCode { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpStatusCode
Gets or sets a status code to use
Declaration
[DataMember]
public int HttpStatusCode { get; set; }
Property Value
Type | Description |
---|---|
int |
Identifiers
Gets or sets the error message.
Declaration
[DataMember]
public Collection<IdentifierTriple> Identifiers { get; set; }
Property Value
Type | Description |
---|---|
Collection<IdentifierTriple> |
Message
Gets or sets the error message.
Declaration
[DataMember]
public string Message { get; set; }
Property Value
Type | Description |
---|---|
string |