namespace: Serenity.Services assembly: Serenity.Net.Core
Generic validation error mostly used by services.
public class ValidationError : Exception, IIsSensitiveMessage
name | description |
---|---|
ValidationError() | Initializes a new instance of the ValidationError class. |
ValidationError(…) | Initializes a new instance of the ValidationError class. (5 constructors) |
Arguments { get; set; } | Gets or sets the arguments. |
ErrorCode { get; set; } | Gets or sets the error code. |
IsSensitiveMessage { get; set; } | By default all ValidationErrors are end user exceptions (e.g. message can be shown safely to the end user) |
- interface IIsSensitiveMessage
- Source: ValidationError.cs