16 Jan 2023 01:09 AM - last edited on 02 May 2023 06:30 AM by educampver
According to the documentation, the maximum storage size for user states is 32KB, and for app states is 50MB. Is there a way to read the current app state usage of my app?
Solved! Go to Solution.
I would like to jump in to ask a follow up question: when reading the SDK's signature, I see
Does it mean that the SDK will throw an error in this case?
If so, I would love to have a typed error for this specific case.
Hi David, short answer, yes, it may throw an error. Unfortunately, there's no way to specify what type of errors a function might throw in TypeScript. However, Dynatrace SDKs provide utils functions for error handling. You can see how to use them in this post about handling errors in the query client. It's not the same SDK, but it's the same principle.
Great! Where do I find out what "names" are there to be matched? Thansk!