From 266e7ce8cbc7165e83353cca961e3c4b5f6a58a4 Mon Sep 17 00:00:00 2001 From: Alexey Elizarov Date: Sun, 5 Sep 2021 18:57:05 +0300 Subject: [PATCH] fix(web3): export of errors (#19649) for ability to do match of type on client-side --- web3.js/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web3.js/src/index.ts b/web3.js/src/index.ts index 12deae70ca..a7901a26b3 100644 --- a/web3.js/src/index.ts +++ b/web3.js/src/index.ts @@ -17,6 +17,7 @@ export * from './transaction'; export * from './validator-info'; export * from './vote-account'; export * from './sysvar'; +export * from './errors'; export * from './util/borsh-schema'; export * from './util/send-and-confirm-transaction'; export * from './util/send-and-confirm-raw-transaction';