error: New QERR_DEVICE_NO_BUS
This commit is contained in:
		
							parent
							
								
									1ae7871840
								
							
						
					
					
						commit
						07574baf7b
					
				
							
								
								
									
										4
									
								
								qerror.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								qerror.c
									
									
									
									
									
								
							| @ -72,6 +72,10 @@ static const QErrorStringTable qerror_table[] = { | ||||
|         .error_fmt = QERR_DEVICE_NOT_REMOVABLE, | ||||
|         .desc      = "Device '%(device)' is not removable", | ||||
|     }, | ||||
|     { | ||||
|         .error_fmt = QERR_DEVICE_NO_BUS, | ||||
|         .desc      = "Device '%(device)' has no child bus", | ||||
|     }, | ||||
|     { | ||||
|         .error_fmt = QERR_FD_NOT_FOUND, | ||||
|         .desc      = "File descriptor named '%(name)' not found", | ||||
|  | ||||
							
								
								
									
										3
									
								
								qerror.h
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								qerror.h
									
									
									
									
									
								
							| @ -66,6 +66,9 @@ QError *qobject_to_qerror(const QObject *obj); | ||||
| #define QERR_DEVICE_NOT_REMOVABLE \ | ||||
|     "{ 'class': 'DeviceNotRemovable', 'data': { 'device': %s } }" | ||||
| 
 | ||||
| #define QERR_DEVICE_NO_BUS \ | ||||
|     "{ 'class': 'DeviceNoBus', 'data': { 'device': %s } }" | ||||
| 
 | ||||
| #define QERR_FD_NOT_FOUND \ | ||||
|     "{ 'class': 'FdNotFound', 'data': { 'name': %s } }" | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Markus Armbruster
						Markus Armbruster