# Class: JWKInvalid [util/errors](../modules/util_errors.md).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) - [code](util_errors.JWKInvalid.md#code) ## Constructors ### constructor • **new JWKInvalid**(`message?`) #### Parameters | Name | Type | | :------ | :------ | | `message?` | `string` | ## Properties ### code • **code**: `string` A unique error code for the particular error subclass. ___ ### code ▪ `Static` **code**: `string` = `'ERR_JWK_INVALID'` A unique error code for the particular error subclass.