jose/docs/classes/_util_errors_.jwkinvalid.md
2021-02-16 11:40:55 +01:00

66 lines
1.3 KiB
Markdown

# Class: JWKInvalid
An error subclass thrown when a JWK is invalid.
## Index
### Constructors
* [constructor](_util_errors_.jwkinvalid.md#constructor)
### Properties
* [code](_util_errors_.jwkinvalid.md#code)
* [message](_util_errors_.jwkinvalid.md#message)
* [name](_util_errors_.jwkinvalid.md#name)
* [stack](_util_errors_.jwkinvalid.md#stack)
## Constructors
### constructor
\+ **new JWKInvalid**(`message?`: string): [JWKInvalid](_util_errors_.jwkinvalid.md)
*Defined in [src/util/errors.ts:11](https://github.com/panva/jose/blob/v3.6.2/src/util/errors.ts#L11)*
#### Parameters:
Name | Type |
------ | ------ |
`message?` | string |
**Returns:** [JWKInvalid](_util_errors_.jwkinvalid.md)
## Properties
### code
**code**: string = "ERR\_JWK\_INVALID"
*Overrides [JOSEError](_util_errors_.joseerror.md).[code](_util_errors_.joseerror.md#code)*
*Defined in [src/util/errors.ts:94](https://github.com/panva/jose/blob/v3.6.2/src/util/errors.ts#L94)*
___
### message
**message**: string
*Defined in node_modules/typescript/lib/lib.es5.d.ts:974*
___
### name
**name**: string
*Defined in node_modules/typescript/lib/lib.es5.d.ts:973*
___
### stack
`Optional` **stack**: string
*Defined in node_modules/typescript/lib/lib.es5.d.ts:975*