Added new error: ErrDBNotFoundInContext
This commit is contained in:
		
							parent
							
								
									912360097a
								
							
						
					
					
						commit
						facc69d70c
					
				@ -37,4 +37,6 @@ var (
 | 
			
		||||
	ErrInvalidValue = errors.New("invalid value")
 | 
			
		||||
	// ErrInvalidValueOfLength invalid values do not match length
 | 
			
		||||
	ErrInvalidValueOfLength = errors.New("invalid association values, length doesn't match")
 | 
			
		||||
	// ErrDBNotFoundInContext when gorm.DB not found in the context
 | 
			
		||||
	ErrDBNotFoundInContext = errors.New("DB not found in context")
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user