Gen AI Evaluation Toolkit on AWS
v2.0.0
Copyright © 2026 Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon’s trademarks and trade dress may not be used in connection with any product or service that is not Amazon’s, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon.
Table of contents
@awssolutions/gen-ai-evaluation-toolkit-ts-client
@awssolutions/gen-ai-evaluation-toolkit-ts-client / ValidationException
Class: ValidationException¶
A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
Extends¶
Constructors¶
Constructor¶
new ValidationException(
opts):ValidationException
Internal
Parameters¶
opts¶
__ExceptionOptionType\<ValidationException, GenAiEvaluationToolkitServiceException>
Returns¶
ValidationException
Overrides¶
GenAiEvaluationToolkitServiceException.constructor
Properties¶
$fault¶
readonly$fault:"client"
Overrides¶
__BaseException.$fault
fieldList?¶
optionalfieldList?:ValidationExceptionField[]
A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.
name¶
readonlyname:"ValidationException"
Overrides¶
__BaseException.name