Sha256: 5840de3b42dbdd1921abea8b26e9eccc6732e0c862d2f58b45d054bcfbdf5544
Contents?: true
Size: 619 Bytes
Versions: 20
Compression:
Stored size: 619 Bytes
Contents
# encoding: utf-8 module Nimbu #:nodoc # Raised when passed parameters are missing or contain wrong values. module Error class Validations < ClientError def initialize(errors) super( generate_message( :problem => "Attempted to send request with nil arguments for #{errors.keys.join(', ')}.", :summary => 'Each request expects certain number of required arguments.', :resolution => 'Double check that the provided arguments are set to some value that is neither nil nor empty string.' ) ) end end end # Error end # Nimbu
Version data entries
20 entries across 20 versions & 1 rubygems