Fault Class |
Namespace: Tse.EasyBook.Server.DataContracts.Faults
public class Fault
The Fault type exposes the following members.
Name | Description | |
---|---|---|
![]() | BrokenRules |
Possible list of broken business validation rules. Use to provide specific fault information to
the service consumer.
|
![]() | ErrorCode |
The error code of the exception
|
![]() | ErrorCodeText |
The error code of the exception as text
|
![]() | Message |
Fault message.
|
![]() | MessageCulture |
Culture name of the fault message.
|
![]() | OriginalException |
The fault original exception if is has any.
|
![]() | StackTrace |
Stack trace from the server exception.
|
![]() | UniqueId |
Unique identifier for each fault instance. Can be use to lookup the exception logged on the server side from the client side.
|
Name | Description | |
---|---|---|
![]() ![]() | ErrorCodeEnumToMessage |
Get corresponding message for the error code from the TypeText.resx ressource file.
The format of the ressource string name is: ErrorCodeEnum + ErrorCodeEnum.Value. Example: "ErrorCodeEnum.InvalidRentalObjectNo".
|
![]() | ToString |
Override ToString to include the unique id in exceptions dumps.
(Overrides ObjectToString.) |