SessionError
Hierarchy
- RetryRequestError
- SessionError
Index
Constructors
Properties
Methods
Constructors
constructor
Parameters
optionalmessage: string
Returns SessionError
Properties
externaloptionalcause
externalmessage
externalname
externaloptionalstack
staticexternaloptionalprepareStackTrace
Type declaration
Optional override for formatting stack traces
Parameters
externalerr: Error
externalstackTraces: CallSite[]
Returns any
staticexternalstackTraceLimit
Methods
staticexternalcaptureStackTrace
Create .stack property on a target object
Parameters
externaltargetObject: object
externaloptionalconstructorOpt: Function
Returns void
Errors of
SessionError
type will trigger a session rotation.This error doesn't respect the
maxRequestRetries
option and has a separate limit ofmaxSessionRotations
.