You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree, but some projects also use strings. When I added `oops.Code(), I hesitated between both types, and concluded that a numeric value could be converted into a string, but not the opposite.
I agree, but some projects also use strings. When I added `oops.Code(), I hesitated between both types, and concluded that a numeric value could be converted into a string, but not the opposite.
I suppose an any value could fill the gap.
Can we add a new API, similar to AnyCode(), so that when passing in the data, there is no need to perform type conversion, and the error handling is centralized and unified, and type conversion is only performed at the end?
In many existing projects, most of the code is of int type, and type conversion is required every time it is passed in and read out.
The text was updated successfully, but these errors were encountered: