entropyE
Convex Community2y ago
4 replies
entropy

Adding typing to ConvexError data field without casting everytime

Hello! I was using ConvexError and following the docs on adding custom data to the data field of ConvexError. The docs recommended casting for getting the correct typings, but I feel this would be a bit cumbersome. Is there any better way to do this?
Was this page helpful?