Skip to content

[FEATURE]: one common endpoint for entire functions + Error handling #116

Description

@mlipok

What feature would you like, or what problem are you facing?

I didn't care about it before, but I think now is the right time to sort it out.

A similar principle is already in au3WebDriver project

We also need to:
start using enums like $NETWEBVIEW2_ERR__*, $NETWEBVIEW2_EXT__*
and debug better debug function and debug levels like __WD_Error()

Global Enum _
		$_WD_DEBUG_None = 0, _ ; No logging
		$_WD_DEBUG_Error, _    ; logging in case of Error
		$_WD_DEBUG_Info, _     ; logging with additional information
		$_WD_DEBUG_Full        ; logging with full details for developers

What's your proposed solution?

We should take a look on each function and slowly introduce changes.

Screenshots

No response

Do you want to work on this issue/improvement?

Yes

Any additional context?

We should start to use unified error messages like:

Global Enum _
		$NETWEBVIEW2_ERR__INIT_FAILED, _
		$NETWEBVIEW2_ERR__PROFILE_NOT_READY, _
		$NETWEBVIEW2_ERR___FAKE_COUNTER

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions