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
  • A human-readable description for each error

    Declaration

    Swift

    public var description: String