Sha256: 2f6dc5d77ddd65252f3ba1db6e006d0c64657d18381cef8b63e6a7e04172170f

Contents?: true

Size: 480 Bytes

Versions: 39

Compression:

Stored size: 480 Bytes

Contents

# frozen_string_literal: true

module WPScan
  module Error
    # Error raised when the token given via --api-token is invalid
    class InvalidApiToken < Standard
      def to_s
        'The API token provided is invalid'
      end
    end

    # Error raised when the number of API requests has been reached
    # currently not implemented on the API side
    class ApiLimitReached < Standard
      def to_s
        'Your API limit has been reached'
      end
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
wpscan-3.8.27 lib/wpscan/errors/vuln_api.rb
wpscan-3.8.26 lib/wpscan/errors/vuln_api.rb
wpscan-3.8.25 lib/wpscan/errors/vuln_api.rb
wpscan-3.8.24 lib/wpscan/errors/vuln_api.rb
wpscan-3.8.22 lib/wpscan/errors/vuln_api.rb
wpscan-3.8.21 lib/wpscan/errors/vuln_api.rb
wpscan-3.8.20 lib/wpscan/errors/vuln_api.rb
wpscan-3.8.19 lib/wpscan/errors/vuln_api.rb
wpscan-3.8.18 lib/wpscan/errors/vuln_api.rb
wpscan-3.8.17 lib/wpscan/errors/vuln_api.rb
wpscan-3.8.16 lib/wpscan/errors/vuln_api.rb
wpscan-3.8.15 lib/wpscan/errors/vuln_api.rb
wpscan-3.8.14 lib/wpscan/errors/vuln_api.rb
wpscan-3.8.13 lib/wpscan/errors/vuln_api.rb
wpscan-3.8.12 lib/wpscan/errors/vuln_api.rb
wpscan-3.8.11 lib/wpscan/errors/vuln_api.rb
wpscan-3.8.10 lib/wpscan/errors/vuln_api.rb
wpscan-3.8.9 lib/wpscan/errors/vuln_api.rb
wpscan-3.8.8 lib/wpscan/errors/vuln_api.rb
wpscan-3.8.7 lib/wpscan/errors/vuln_api.rb