AggregateAuthenticationError class
Provides an errors
array containing AuthenticationError instance
for authentication failures from credentials in a ChainedTokenCredential.
- Extends
-
Error
Constructors
Aggregate |
Properties
errors | The array of error objects that were thrown while trying to authenticate with the credentials in a ChainedTokenCredential. |
Inherited Properties
message | |
name | |
prepare |
Optional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-traces |
stack | |
stack |
Inherited Methods
capture |
Create .stack property on a target object |
Constructor Details
AggregateAuthenticationError(any[], string)
new AggregateAuthenticationError(errors: any[], errorMessage?: string)
Parameters
- errors
-
any[]
- errorMessage
-
string
Property Details
errors
The array of error objects that were thrown while trying to authenticate with the credentials in a ChainedTokenCredential.
errors: any[]
Property Value
any[]
Inherited Property Details
message
message: string
Property Value
string
Inherited From Error.message
name
name: string
Property Value
string
Inherited From Error.name
prepareStackTrace
Optional override for formatting stack traces
See https://v8.dev/docs/stack-trace-api#customizing-stack-traces
static prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any
Property Value
(err: Error, stackTraces: CallSite[]) => any
Inherited From Error.prepareStackTrace
stack
stack?: string
Property Value
string
Inherited From Error.stack
stackTraceLimit
static stackTraceLimit: number
Property Value
number
Inherited From Error.stackTraceLimit
Inherited Method Details
captureStackTrace(object, Function)
Create .stack property on a target object
static function captureStackTrace(targetObject: object, constructorOpt?: Function)
Parameters
- targetObject
-
object
- constructorOpt
-
Function
Inherited From Error.captureStackTrace