Sha256: 8f6033bfc8c4b4ae47f2ce16a48a291be12c20e9845d7d07d8336d37dfa3d76b
Contents?: true
Size: 694 Bytes
Versions: 1
Compression:
Stored size: 694 Bytes
Contents
# frozen_string_literal: true module BitBucket #:nodoc # Raised when invalid options are passed to a request body module Error class RequiredParams < ClientError def initialize(provided, required) super( generate_message( problem: "Missing required parameters: #{provided.keys.join(', ')} provided for this request.", summary: 'BitBucket gem checks the request parameters passed to ensure that github api is not hit unnecessairly and to fail fast.', resolution: "Required parameters are: #{required.join(', ')}, 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/required_params.rb |