OidcError
Defined in: packages/core/src/errors.ts:24
Structured error thrown by all oidc-js-core functions instead of generic Error.
Consumers can switch on OidcError.code for programmatic error handling.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new OidcError(
code,message):OidcError
Defined in: packages/core/src/errors.ts:25
Parameters
Section titled “Parameters”Typed error code identifying the failure category.
message
Section titled “message”string
Returns
Section titled “Returns”OidcError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”
readonlycode:OidcErrorCode
Defined in: packages/core/src/errors.ts:27
Typed error code identifying the failure category.
message
Section titled “message”message:
string
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from
Section titled “Inherited from”Error.message
name:
string
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
Section titled “Inherited from”Error.name
stack?
Section titled “stack?”
optionalstack?:string
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078
Inherited from
Section titled “Inherited from”Error.stack