axe-core-npm icon indicating copy to clipboard operation
axe-core-npm copied to clipboard

Make error-handling url configurable

Open straker opened this issue 3 years ago • 2 comments

In order to get axe-core-npm 4.3.3 released on time, we opted for a less-than-ideal strategy to hard-code the error-handling url in each package. If instead we allowed the url to be configurable, it would make for a cleaner integration.

this.errorUrl = 'https://github.com/dequelabs/axe-core-npm/blob/develop/packages/webdriverjs/error-handling.md';

analyze() {
  try {
  
  } catch(err) {
    throw new Error(`${err.message}. Please see ${this.errorUrl}`)
  }
}
``

straker avatar Sep 20 '21 21:09 straker

@michael-siek @Zidious Can you please provide some QA notes to test this ticket?

somaalapati avatar Dec 09 '22 06:12 somaalapati

@somaalapati This is a dev task I don't think there is anything to QA

michael-siek avatar Dec 20 '22 14:12 michael-siek