Sha256: 72a597bf5889addce7853e27eff302310272468f7c132b17b15660c57aef6622

Contents?: true

Size: 889 Bytes

Versions: 100

Compression:

Stored size: 889 Bytes

Contents

class ValidationError < StandardError; end
class ExcessiveResourcesError < ValidationError; end
class ExcessiveResourceNameError < ValidationError; end
class ExcessiveMappingsError < ValidationError; end
class ExcessiveMappingAttributesError < ValidationError; end
class ExcessiveMappingNameError < ValidationError; end
class ExcessiveMappingAttributeNameError < ValidationError; end
class ExcessiveParametersError < ValidationError; end
class ExcessiveParameterNameError < ValidationError; end
class ExcessiveParameterBytesizeError < ValidationError; end
class ExcessiveOutputsError < ValidationError; end
class ExcessiveOutputNameError < ValidationError; end
class ExcessiveDescriptionError < ValidationError; end
class ExcessiveTemplateSizeError < ValidationError; end

def limit_exceeded_error(value, limit, error_class)
  fail error_class, "Value #{value} exceeds Limit #{limit}"
end

Version data entries

100 entries across 100 versions & 1 rubygems

Version Path
convection-1.1.3 lib/convection/model/exceptions.rb
convection-1.1.2 lib/convection/model/exceptions.rb
convection-1.1.1 lib/convection/model/exceptions.rb
convection-1.1.0 lib/convection/model/exceptions.rb
convection-1.0.7 lib/convection/model/exceptions.rb
convection-1.0.6 lib/convection/model/exceptions.rb
convection-1.0.5 lib/convection/model/exceptions.rb
convection-1.0.4 lib/convection/model/exceptions.rb
convection-1.0.3 lib/convection/model/exceptions.rb
convection-1.0.2 lib/convection/model/exceptions.rb
convection-1.0.1 lib/convection/model/exceptions.rb
convection-1.0.0.pre.beta.10 lib/convection/model/exceptions.rb
convection-1.0.0.pre.beta.9 lib/convection/model/exceptions.rb
convection-1.0.0.pre.beta.8 lib/convection/model/exceptions.rb
convection-1.0.0.pre.beta.7 lib/convection/model/exceptions.rb
convection-1.0.0.pre.beta.6 lib/convection/model/exceptions.rb
convection-1.0.0.pre.beta.4 lib/convection/model/exceptions.rb
convection-1.0.0.pre.beta.1 lib/convection/model/exceptions.rb
convection-0.4.3 lib/convection/model/exceptions.rb
convection-0.4.2 lib/convection/model/exceptions.rb