Add example to verify exact error being thrown