PHP Class Ouzo\ExceptionHandling\OuzoExceptionData

Mostrar archivo Open project: letsdrink/ouzo Class Usage Examples

Public Methods

Method Description
__construct ( $httpCode, $errors, $stackTrace, $additionalHeaders = [] )
forException ( $httpCode, Exception $exception )
getAdditionalHeaders ( )
getErrors ( )
getHeader ( )
getHttpCode ( )
getMessage ( )
getOriginalMessage ( )
getStackTrace ( )

Method Details

__construct() public method

public __construct ( $httpCode, $errors, $stackTrace, $additionalHeaders = [] )

forException() public static method

public static forException ( $httpCode, Exception $exception )
$exception Exception

getAdditionalHeaders() public method

getErrors() public method

public getErrors ( )

getHeader() public method

public getHeader ( )

getHttpCode() public method

public getHttpCode ( )

getMessage() public method

public getMessage ( )

getOriginalMessage() public method

public getOriginalMessage ( )

getStackTrace() public method

public getStackTrace ( )