lib/cfer/util/error.rb in cfer-0.3.0 vs lib/cfer/util/error.rb in cfer-0.4.0

- old
+ new

@@ -1,9 +1,17 @@ module Cfer::Util require 'highline/import' class CferError < StandardError end + class CferValidationError < CferError + attr_reader :errors + def initialize(errors) + @errors = errors + super(errors) + end + end + class StackExistsError < CferError end class StackDoesNotExistError < CferError end