# Class: JWKInvalid An error subclass thrown when a JWK is invalid. ## Table of contents ### Constructors - [constructor](util_errors.JWKInvalid.md#constructor) ### Properties - [code](util_errors.JWKInvalid.md#code) ### Accessors - [code](util_errors.JWKInvalid.md#code) ## Constructors ### constructor • **new JWKInvalid**(`message?`) #### Parameters | Name | Type | | :------ | :------ | | `message?` | `string` | ## Properties ### code • **code**: `string` = `'ERR_JWK_INVALID'` A unique error code for the particular error subclass. ## Accessors ### code • `Static` `get` **code**(): ``"ERR_JWK_INVALID"`` A unique error code for the particular error subclass. #### Returns ``"ERR_JWK_INVALID"``