IValidationContext.AddError(OpenApiValidatorError) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Register an error with the validation context.
public void AddError (Microsoft.OpenApi.Validations.OpenApiValidatorError error);
abstract member AddError : Microsoft.OpenApi.Validations.OpenApiValidatorError -> unit
Public Sub AddError (error As OpenApiValidatorError)
Parameters
- error
- OpenApiValidatorError
Error to register.