```typescript const randomKeyPair = anchor.web3.Keypair.generate(); const account = await program.account.treasury.fetchNullable(randomKeyPair.publicKey); ``` This will throw an error instead of just returning null.