mirror of
https://github.com/danbulant/jose
synced 2026-05-22 05:49:01 +00:00
64 lines
1.4 KiB
Markdown
64 lines
1.4 KiB
Markdown
# Class: JWKInvalid
|
|
|
|
[util/errors](../modules/util_errors.md).JWKInvalid
|
|
|
|
An error subclass thrown when a JWK is invalid.
|
|
|
|
## Hierarchy
|
|
|
|
* [*JOSEError*](util_errors.joseerror.md)
|
|
|
|
↳ **JWKInvalid**
|
|
|
|
## Table of contents
|
|
|
|
### Constructors
|
|
|
|
- [constructor](util_errors.jwkinvalid.md#constructor)
|
|
|
|
### Properties
|
|
|
|
- [code](util_errors.jwkinvalid.md#code)
|
|
- [code](util_errors.jwkinvalid.md#code)
|
|
|
|
## Constructors
|
|
|
|
### constructor
|
|
|
|
\+ **new JWKInvalid**(`message?`: *string*): [*JWKInvalid*](util_errors.jwkinvalid.md)
|
|
|
|
#### Parameters:
|
|
|
|
| Name | Type |
|
|
| :------ | :------ |
|
|
| `message?` | *string* |
|
|
|
|
**Returns:** [*JWKInvalid*](util_errors.jwkinvalid.md)
|
|
|
|
Inherited from: [JOSEError](util_errors.joseerror.md)
|
|
|
|
Defined in: [util/errors.ts:16](https://github.com/panva/jose/blob/v3.11.6/src/util/errors.ts#L16)
|
|
|
|
## Properties
|
|
|
|
### code
|
|
|
|
• **code**: *string*
|
|
|
|
A unique error code for the particular error subclass.
|
|
|
|
Overrides: [JOSEError](util_errors.joseerror.md).[code](util_errors.joseerror.md#code)
|
|
|
|
Defined in: [util/errors.ts:115](https://github.com/panva/jose/blob/v3.11.6/src/util/errors.ts#L115)
|
|
|
|
___
|
|
|
|
### code
|
|
|
|
▪ `Static` **code**: *string*= 'ERR\_JWK\_INVALID'
|
|
|
|
A unique error code for the particular error subclass.
|
|
|
|
Overrides: [JOSEError](util_errors.joseerror.md).[code](util_errors.joseerror.md#code)
|
|
|
|
Defined in: [util/errors.ts:113](https://github.com/panva/jose/blob/v3.11.6/src/util/errors.ts#L113)
|