| 
                    
 This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com  | 
            ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
                 
                
    
    
                 | 
                
					
                    
                         
    4D v20.6
 
Last errors 
                                
                                
        
 | 
                |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Last errors -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| Function result | Collection | 
             
         | 
        Collection of error objects | |||||
The Last errors command returns the current stack of errors of the 4D application as a collection of error objects, or null if no error occurred.
Each error object contains the following attributes:
| Property | Type | Description | 
| errCode | number | Error code | 
| message | text | Description of the error | 
| componentSignature | text | Signature of the internal component which returned the error | 
This command must be called from an on error call method installed by the ON ERR CALL command.
Note: See also the GET LAST ERROR STACK legacy command that returns the same information as arrays.
	Product:  4D
	Theme:  Interruptions
	Number:  
        1799
        
        
        
	
	Created:  4D v19 R8
	
	4D Language Reference ( 4D v20)
	4D Language Reference ( 4D v20.1)
	4D Language Reference ( 4D v20.2)
	4D Language Reference ( 4D v20.3)
	4D Language Reference ( 4D v20.4)
	4D Language Reference ( 4D v20.5)
	4D Language Reference ( 4D v20.6)
Add a comment