mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-26 23:51:10 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			310 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			310 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 'use strict';
 | |
| 
 | |
| class NotNullConstraint extends Error {
 | |
|   constructor({ column = '' } = {}) {
 | |
|     super();
 | |
|     this.name = 'NotNullConstraint';
 | |
|     this.message = `Not null constraint violation${column ? `on on column ${column}` : ''}.`;
 | |
|     this.stack = null;
 | |
|   }
 | |
| }
 | |
| 
 | |
| module.exports = {
 | |
|   NotNullConstraint,
 | |
| };
 | 
