crypto-aio / crypto-aio / CodesOf
Type Alias: CodesOf<C> ​
CodesOf<
C> ={ [K in ErrorCode]: typeof ERROR_CODES[K]["category"] extends C ? K : never }[ErrorCode]
Defined in: src/core/errors/codes.ts:71
The codes of one category.
Type Parameters ​
C ​
C extends ErrorCategory