Sha256: 8801669fd2d5ece403c830fa314da985813a7f22f9fc8a33979b7109e06c81b2

Contents?: true

Size: 612 Bytes

Versions: 3

Compression:

Stored size: 612 Bytes

Contents

module QB
  # Base class for QB errors.
  class Error < StandardError; end
  
  # Raised when a version mismatch occurs.
  class VersionError < Error; end
  
  # Raised when the current Ansible version doesn't satisfy:
  # 
  # 1.  A role as defined in `<role_dir>/meta/main.yml:min_ansible_version`)
  #     
  # 2.  QB itself as defined in {QB::MIN_ANSIBLE_VERSION}
  # 
  class AnsibleVersionError < VersionError; end
  
  # Raised when the current QB version doesn't satisfy a role as defined
  # in `<role_dir>/meta/qb[.yml]:required_qb_version`).
  class QBVersionError < VersionError; end
end # module QB

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
qb-0.1.72 lib/qb/errors.rb
qb-0.1.71 lib/qb/errors.rb
qb-0.1.70 lib/qb/errors.rb