SessionError
Hierarchy
- RetryRequestError
- SessionError
Index
Constructors
Properties
Methods
Constructors
constructor
Parameters
optionalmessage: string
Returns SessionError
Properties
externaloptionalinheritedcause
externalinheritedmessage
externalinheritedname
externaloptionalinheritedstack
staticexternaloptionalinheritedprepareStackTrace
Optional override for formatting stack traces
Type declaration
Parameters
externalerr: Error
externalstackTraces: CallSite[]
Returns any
staticexternalinheritedstackTraceLimit
Methods
staticexternalinheritedcaptureStackTrace
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
.