Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Paiwise.ValidationError Class Reference

Contains information about a validation error. More...

Inheritance diagram for Paiwise.ValidationError:
Paiwise.IValidationError

Public Member Functions

 ValidationError (ValidationErrorType ErrorType, string ErrorMessage, string ErrorLanguage, string ErrorCode, object Service, params KeyValuePair< string, object >[] Tags)
 Contains information about a validation error. More...
 

Properties

ValidationErrorType ErrorType [get]
 Type of error. More...
 
string ErrorMessage [get]
 Error message that can be sent to origin More...
 
string ErrorLanguage [get]
 Language ISO code of ErrorMessage. More...
 
string ErrorCode [get]
 Machine-readable error code (service-specific). More...
 
object Service [get]
 Service reporting the error. More...
 
KeyValuePair< string, object >[] Tags [get]
 Tags annotating the error message. More...
 

Detailed Description

Contains information about a validation error.

Definition at line 10 of file ValidationError.cs.

Constructor & Destructor Documentation

◆ ValidationError()

Paiwise.ValidationError.ValidationError ( ValidationErrorType  ErrorType,
string  ErrorMessage,
string  ErrorLanguage,
string  ErrorCode,
object  Service,
params KeyValuePair< string, object >[]  Tags 
)

Contains information about a validation error.

Parameters
ErrorTypeError Type
ErrorMessageHuman-readable error message.
ErrorLanguageLanguage code.
ErrorCodeMachine-readable Error code
ServiceService reporting the error.
TagsTags annotating the error message.

Definition at line 21 of file ValidationError.cs.

Property Documentation

◆ ErrorCode

string Paiwise.ValidationError.ErrorCode
get

Machine-readable error code (service-specific).

Implements Paiwise.IValidationError.

Definition at line 50 of file ValidationError.cs.

◆ ErrorLanguage

string Paiwise.ValidationError.ErrorLanguage
get

Language ISO code of ErrorMessage.

Implements Paiwise.IValidationError.

Definition at line 45 of file ValidationError.cs.

◆ ErrorMessage

string Paiwise.ValidationError.ErrorMessage
get

Error message that can be sent to origin

Implements Paiwise.IValidationError.

Definition at line 40 of file ValidationError.cs.

◆ ErrorType

ValidationErrorType Paiwise.ValidationError.ErrorType
get

Type of error.

Implements Paiwise.IValidationError.

Definition at line 35 of file ValidationError.cs.

◆ Service

object Paiwise.ValidationError.Service
get

Service reporting the error.

Implements Paiwise.IValidationError.

Definition at line 55 of file ValidationError.cs.

◆ Tags

KeyValuePair<string, object> [] Paiwise.ValidationError.Tags
get

Tags annotating the error message.

Implements Paiwise.IValidationError.

Definition at line 60 of file ValidationError.cs.


The documentation for this class was generated from the following file: