GraphQL supports returning both the error and data arrays for the same query/mutation, it would be nice when complexity limits are exceeded, if the data object still returned the complexity part of the mutation/query so we can see when it resets in a structured object.
That would be much easier than having to parse the error message for the info required. Which is the workaround used today.