Error

Generic error model.

Namespace:
Inetdev.Models
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
System.Object

Remarks

This model is to be used mostly as error response for RESTFull APIs.

Constructors

Error

Default constructor

Signature:
public Void Error()

Properties

ActivityId

Activity Id for error tracking.

Signature:
public String ActivityId { get; set; }

Code

Error code.

Signature:
public String Code { get; set; }

Details

Details that further describes the error.

Signature:
public ErrorCollection Details { get; set; }

Message

Human readable error message.

Signature:
public String Message { get; set; }

Target

The target that causes the error.

Signature:
public String Target { get; set; }