Browse Source

ts: Expose ProgramError (#737)

tomland123 4 years ago
parent
commit
a1f4fac09d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      ts/src/index.ts

+ 3 - 0
ts/src/index.ts

@@ -12,6 +12,8 @@ import Coder, {
   TypesCoder,
   AccountsCoder,
 } from "./coder";
+
+import { ProgramError } from "./error";
 import { Instruction } from "./coder/instruction";
 import { Idl } from "./idl";
 import workspace from "./workspace";
@@ -71,4 +73,5 @@ export {
   Wallet,
   Address,
   EventParser,
+  ProgramError,
 };