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-0.2.20 lib/convection/model/exceptions.rb
convection-0.2.19 lib/convection/model/exceptions.rb
convection-0.2.18 lib/convection/model/exceptions.rb
convection-0.2.17 lib/convection/model/exceptions.rb
convection-0.2.16 lib/convection/model/exceptions.rb
convection-0.2.15 lib/convection/model/exceptions.rb
convection-0.2.14 lib/convection/model/exceptions.rb
convection-0.2.13 lib/convection/model/exceptions.rb
convection-0.2.12 lib/convection/model/exceptions.rb
convection-0.2.11 lib/convection/model/exceptions.rb
convection-0.2.10 lib/convection/model/exceptions.rb
convection-0.2.9 lib/convection/model/exceptions.rb
convection-0.2.8 lib/convection/model/exceptions.rb
convection-0.2.7 lib/convection/model/exceptions.rb
convection-0.2.6 lib/convection/model/exceptions.rb
convection-0.2.5 lib/convection/model/exceptions.rb
convection-0.2.4 lib/convection/model/exceptions.rb
convection-0.2.3 lib/convection/model/exceptions.rb
convection-0.2.2 lib/convection/model/exceptions.rb
convection-0.2.1 lib/convection/model/exceptions.rb