GitHub

DaffAuthorizeNetAcceptjsInvalidError

import { DaffAuthorizeNetAcceptjsInvalidError } from '@daffodil/authorizenet/driver'

An error thrown when Accept.js has been loaded incorrectly. This can be caused by the script being loaded from a local source or when the browser or proxy has improperly cached an older version of the script.

class DaffAuthorizeNetAcceptjsInvalidError extends DaffInheritableError implements DaffError {
  readonly code: string = DaffAuthorizeNetDriverErrorCodes.ACCEPTJS_INVALID
  message: string
}