PHP 클래스 Kraken\Throwable\Exception

상속: extends Exception
파일 보기 프로젝트 열기: kraken-php/framework 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $message = 'Unknown exception', Error | Exception | null $previous = null )
__toString ( ) : string
toStackString ( Error | Exception $ex ) : string Return Exception stack trace in string format.
toStackTrace ( Error | Exception $ex ) : string[] Return Exception stack trace in array format.
toString ( Error | Exception $ex ) : string Return Exception full trace in string format.
toThrowableString ( Error | Exception $ex ) : string Return Exception throwable trace in string format.
toThrowableTrace ( Error | Exception $ex ) : string[] Return Exception throwable trace in array format.
toTrace ( Error | Exception $ex ) : mixed Return Exception full trace in array format.

메소드 상세

__construct() 공개 메소드

public __construct ( string $message = 'Unknown exception', Error | Exception | null $previous = null )
$message string
$previous Error | Exception | null

__toString() 공개 메소드

public __toString ( ) : string
리턴 string

toStackString() 공개 정적인 메소드

Return Exception stack trace in string format.
public static toStackString ( Error | Exception $ex ) : string
$ex Error | Exception
리턴 string

toStackTrace() 공개 정적인 메소드

Return Exception stack trace in array format.
public static toStackTrace ( Error | Exception $ex ) : string[]
$ex Error | Exception
리턴 string[]

toString() 공개 정적인 메소드

Return Exception full trace in string format.
public static toString ( Error | Exception $ex ) : string
$ex Error | Exception
리턴 string

toThrowableString() 공개 정적인 메소드

Return Exception throwable trace in string format.
public static toThrowableString ( Error | Exception $ex ) : string
$ex Error | Exception
리턴 string

toThrowableTrace() 공개 정적인 메소드

Return Exception throwable trace in array format.
public static toThrowableTrace ( Error | Exception $ex ) : string[]
$ex Error | Exception
리턴 string[]

toTrace() 공개 정적인 메소드

Return Exception full trace in array format.
public static toTrace ( Error | Exception $ex ) : mixed
$ex Error | Exception
리턴 mixed