Classes
Class: AuthError
docid\ yiisnk5wtw5z7 cyyypze autherror hierarchy error ↳ constructors constructor • new autherror ( namedparameters ) parameters true left unhandled content type left unhandled content type left unhandled content type left unhandled content type overrides error constructor defined in https //github com/chordcommerce/chord ui/blob/2b105e1/packages/chord stytch/src/error ts#l10 properties cause • optional cause unknown inherited from error cause defined in node modules/typescript/lib/lib es2022 error d ts 26 code • code enumeration autherrorcodes docid\ asan4mkijp4hs9iapsgjb defined in https //github com/chordcommerce/chord ui/blob/2b105e1/packages/chord stytch/src/error ts#l9 message • message string inherited from error message defined in node modules/typescript/lib/lib es5 d ts 1054 name • name string overrides error name defined in https //github com/chordcommerce/chord ui/blob/2b105e1/packages/chord stytch/src/error ts#l8 stack • optional stack string inherited from error stack defined in node modules/typescript/lib/lib es5 d ts 1055 preparestacktrace ▪ static optional preparestacktrace ( err error , stacktraces callsite \[]) => any type declaration ▸ ( err , stacktraces ) any optional override for formatting stack traces https //v8 dev/docs/stack trace api#customizing stack traces parameters true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type returns any inherited from error preparestacktrace defined in node modules/@types/node/globals d ts 11 stacktracelimit ▪ static stacktracelimit number inherited from error stacktracelimit defined in node modules/@types/node/globals d ts 13 methods capturestacktrace ▸ static capturestacktrace ( targetobject , constructoropt? ) void create stack property on a target object parameters true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type returns void inherited from error capturestacktrace defined in node modules/@types/node/globals d ts 4