Skip to content

otplib API Documentation / @otplib/core / types / OTPResultError

Type Alias: OTPResultError<E>

OTPResultError<E> = object

Defined in: packages/core/src/types.ts:201

Failure result containing an error

Type Parameters

E

E

Properties

error

readonly error: E

Defined in: packages/core/src/types.ts:203


ok

readonly ok: false

Defined in: packages/core/src/types.ts:202

Released under the MIT License.