ReCaptchaError

public enum ReCaptchaError : Error, CustomStringConvertible

The codes of possible errors thrown by ReCaptcha

  • Unexpected error

    Declaration

    Swift

    case unexpected(Error)
  • Could not load the HTML embedded in the bundle

    Declaration

    Swift

    case htmlLoadError
  • ReCaptchaKey was not provided

    Declaration

    Swift

    case apiKeyNotFound
  • ReCaptchaDomain was not provided

    Declaration

    Swift

    case baseURLNotFound
  • Received an unexpected message from javascript

    Declaration

    Swift

    case wrongMessageFormat
  • ReCaptcha setup failed

    Declaration

    Swift

    case failedSetup
  • ReCaptcha response expired

    Declaration

    Swift

    case responseExpired
  • ReCaptcha render failed

    Declaration

    Swift

    case failedRender
  • A human-readable description for each error

    Declaration

    Swift

    public var description: String { get }