SessionError
Hierarchy
- RetryRequestError
- SessionError
Index
Constructors
Properties
Methods
Constructors
constructor
Parameters
optionalmessage: string
Returns SessionError
Properties
externaloptionalcause
externalmessage
externalname
externaloptionalstack
staticexternaloptionalprepareStackTrace
Optional override for formatting stack traces
Type declaration
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
.