Class ValidationError
				
				
			
				
				
				
					
Defined in:  jsv.js.
				
			
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| 
							
							 Defines an error, found by a schema, with an instance. 
						 | 
					
| Field Attributes | Field Name and Description | 
|---|---|
| 
								
								 The name of the schema attribute that generated the error. 
							 | 
						|
| 
								
								 The value of the schema attribute that generated the error. 
							 | 
						|
| 
								
								 An user-friendly (English) message about what failed to validate. 
							 | 
						|
| 
								
								 The URI of the schema that generated the error. 
							 | 
						|
| 
								
								 The URI of the instance that has the error. 
							 | 
						
					Class Detail
				
				
				
						ValidationError()
				
				
				
					Defines an error, found by a schema, with an instance.
This class can only be instantiated by Report#addError.
					
				
				
				
				
				
					
					
					
					
					
					
					
						- See:
 - Report#addError
 
					Field Detail
				
				
					 
					
					
					{String}
					attribute
					
					
					
						The name of the schema attribute that generated the error.
						
						
					
					
					
						
						
						
						
					
					
					{Any}
					details
					
					
					
						The value of the schema attribute that generated the error.
						
						
					
					
					
						
						
						
						
					
					
					{String}
					message
					
					
					
						An user-friendly (English) message about what failed to validate.
						
						
					
					
					
						
						
						
						
					
					
					{String}
					schemaUri
					
					
					
						The URI of the schema that generated the error.
						
						
					
					
					
						
						
						
						
					
					
					{String}
					uri
					
					
					
						The URI of the instance that has the error.