Skip to content

ValidationExceptionType

Namespace: MJCZone.MediaMatic.AspNetCore.Validation

Assembly: MJCZone.MediaMatic.AspNetCore

Summary

Specifies the type of exception to throw when validation fails.

Inheritance

Base Class: Enum

sealed public

Contents

Enum Members (2)

Enum Members

NameValueDescription
ValidationResult0Throw a ValidationResultException (default for request validation).
Argument1Throw an ArgumentException (for service method argument validation).