Sha256: 893a34096379c929bb913e2a8cdd4b644f417f138cb9841cf1e02067202f5330
Contents?: true
Size: 675 Bytes
Versions: 1
Compression:
Stored size: 675 Bytes
Contents
# frozen_string_literal: true module BitBucket #:nodoc # Raised when invalid options are passed to a request body module Error class UnknownValue < ClientError def initialize(key, value, permitted) super( generate_message( problem: "Wrong value of '#{value}' for the parameter: #{key} provided for this request.", summary: 'BitBucket gem checks the request parameters passed to ensure that github api is not hit unnecessairly and fails fast.', resolution: "Permitted values are: #{permitted}, make sure these are the ones you are using" ) ) end end end # Error end # BitBucket
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bitbuckets-0.2.0 | lib/bitbucket_rest_api/error/unknown_value.rb |