Inconsistent error results

Issue Description:
callback results are generelly documented as

  • success
  • error = error message

on some API’s there is still “reason” used for the error message, making the typing inaccurate and resulting in missed error messages (or a construct like result.error || result.reason for logging)

APIs I’m aware of having this issue:

  • most .replays APIS I think (at least the ones related to capturing = older implementations?)
  • overwolf.os.tray.setMenu
    But there might be more I’m not using.

@Colorfulstan Thanks. It’s a known issue. We are working to add the new fields to all the functions and APIs.

I will create a specific requests on the above APIs. Currently with your pemission I will close the ticket.

1 Like