ErrorPageErrorFormatter
class ErrorPageErrorFormatter extends DebugViewFriendlyErrorFormatter (View source)
Provides {ErrorPage}-gnostic error handling
Properties
| protected | int | $statusCode | Default status code  | 
                from DebugViewFriendlyErrorFormatter | 
| protected | string | $friendlyErrorMessage | Default friendly error  | 
                from DebugViewFriendlyErrorFormatter | 
| protected | string | $friendlyErrorDetail | Default error body  | 
                from DebugViewFriendlyErrorFormatter | 
Methods
                    public                                                                            
                
                    string
                
                                
                    output(int $statusCode)
        
                                            
                
            Return the appropriate error content for the given status code
Details
        
                            int
    getStatusCode()
        
    
    Get default status code
        
                            $this
    setStatusCode(int $statusCode)
        
    
    Set default status code
        
                            string
    getTitle()
        
    
    Get friendly title
        
                            $this
    setTitle(string $title)
        
    
    Set friendly title
        
                            string
    getBody()
        
    
    Get default error body
        
                            $this
    setBody(string $body)
        
    
    Set default error body
        
                            
    format(array $record)
        
    
    No description
        
                            
    formatBatch(array $records)
        
    
    No description
        
                            string
    output(int $statusCode)
        
    
    Return the appropriate error content for the given status code