Skip to content

@awssolutions/gen-ai-evaluation-toolkit-ts-client


@awssolutions/gen-ai-evaluation-toolkit-ts-client / UnauthorizedException

Class: UnauthorizedException

UnauthorizedException is thrown when request is missing or has bad auth

Extends

Constructors

Constructor

new UnauthorizedException(opts): UnauthorizedException

Internal

Parameters

opts

__ExceptionOptionType\<UnauthorizedException, GenAiEvaluationToolkitServiceException>

Returns

UnauthorizedException

Overrides

GenAiEvaluationToolkitServiceException.constructor

Properties

$fault

readonly $fault: "client"

Overrides

__BaseException.$fault


name

readonly name: "UnauthorizedException"

Overrides

__BaseException.name