* Some refactoring of the exception handling code so that we can catch
Nix expression assertion failures.
This commit is contained in:
		
							parent
							
								
									fa72ae1e9c
								
							
						
					
					
						commit
						9088dee9e2
					
				
					 5 changed files with 45 additions and 22 deletions
				
			
		|  | @ -25,6 +25,13 @@ Error::Error(const format & f) | |||
| } | ||||
| 
 | ||||
| 
 | ||||
| Error & Error::addPrefix(const format & f) | ||||
| { | ||||
|     err = f.str() + err; | ||||
|     return *this; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| SysError::SysError(const format & f) | ||||
|     : Error(format("%1%: %2%") % f.str() % strerror(errno)) | ||||
| { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue